mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-18 20:59:42 +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']) %}
|
||||
{% 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