mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 21:29:41 +02:00
parent
07927ccb53
commit
0aeab51286
3 changed files with 3 additions and 16 deletions
|
@ -4,10 +4,6 @@
|
||||||
{% set classes = classes|merge(['block-image__content--bordered']) %}
|
{% set classes = classes|merge(['block-image__content--bordered']) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if stretched %}
|
|
||||||
{% set classes = classes|merge(['block-image__content--stretched']) %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if withBackground %}
|
{% if withBackground %}
|
||||||
{% set classes = classes|merge(['block-image__content--with-background']) %}
|
{% set classes = classes|merge(['block-image__content--with-background']) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -278,16 +278,6 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--stretched {
|
|
||||||
max-width: none !important;
|
|
||||||
width: calc(100% + 120px) !important;
|
|
||||||
margin-left: -60px;
|
|
||||||
|
|
||||||
img, video {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&--bordered {
|
&--bordered {
|
||||||
img, video {
|
img, video {
|
||||||
border: 3px solid var(--color-line-gray);
|
border: 3px solid var(--color-line-gray);
|
||||||
|
|
|
@ -104,9 +104,10 @@
|
||||||
@apply --text-content-title;
|
@apply --text-content-title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.ce-block {
|
.ce-block {
|
||||||
@apply --content-block;
|
@apply --content-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cdx-settings-button[data-tune="stretched"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue