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:
parent
37fabf19b6
commit
0d2ecb778a
3 changed files with 3 additions and 16 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -104,9 +104,10 @@
|
|||
@apply --text-content-title;
|
||||
}
|
||||
|
||||
|
||||
.ce-block {
|
||||
@apply --content-block;
|
||||
}
|
||||
|
||||
|
||||
.cdx-settings-button[data-tune="stretched"] {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue