mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-10 07:55:24 +02:00
Remove the "stretched" function.
This commit is contained in:
parent
89c82e4d26
commit
f9f83410ed
2 changed files with 0 additions and 14 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 %}
|
||||||
|
|
|
@ -265,16 +265,6 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--stretched {
|
|
||||||
max-width: none !important;
|
|
||||||
width: calc(100% + 44px) !important;
|
|
||||||
margin-left: -22px;
|
|
||||||
|
|
||||||
img, video {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&--bordered {
|
&--bordered {
|
||||||
img, video {
|
img, video {
|
||||||
border: 3px solid var(--color-line-gray);
|
border: 3px solid var(--color-line-gray);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue