1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 23:45:25 +02:00

delete stretched function

This commit is contained in:
Alexander Chernyaev 2022-09-11 15:34:51 +03:00
parent 37fabf19b6
commit 0d2ecb778a
3 changed files with 3 additions and 16 deletions

View file

@ -4,10 +4,6 @@
{% set classes = classes|merge(['block-image__content--bordered']) %}
{% endif %}
{% if stretched %}
{% set classes = classes|merge(['block-image__content--stretched']) %}
{% endif %}
{% if withBackground %}
{% set classes = classes|merge(['block-image__content--with-background']) %}
{% endif %}

View file

@ -278,16 +278,6 @@
max-width: 100%;
}
&--stretched {
max-width: none !important;
width: calc(100% + 120px) !important;
margin-left: -60px;
img, video {
width: 100%;
}
}
&--bordered {
img, video {
border: 3px solid var(--color-line-gray);

View file

@ -104,9 +104,10 @@
@apply --text-content-title;
}
.ce-block {
@apply --content-block;
}
.cdx-settings-button[data-tune="stretched"] {
display: none;
}