Skip to content
Snippets Groups Projects
Commit e64dc140 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-4835: fixing inverted l layouts

parent 8bda2aee
No related branches found
No related tags found
1 merge request!57Feature/istwcms 4837 ebremner layouts
......@@ -2237,7 +2237,7 @@ svg:not(:root) {
grid-column: 1 / 2;
grid-row: 1 / 2; }
.layout--uw-inverted-l-right .layout__region--first {
.layout--uw-inverted-l-right .layout__region--second {
grid-column: 2 / 3;
grid-row: 1 / 2; }
......@@ -2245,10 +2245,6 @@ svg:not(:root) {
grid-column: 1 / 3;
grid-row: 2 / 3; }
.layout--uw-inverted-l-right .layout__region--fourth {
grid-column: 3 / 4;
grid-row: 1 / 3; }
.layout__region {
outline: 2px dashed #2f91da;
padding: 1.5rem;
......
......@@ -658,7 +658,7 @@
grid-column: 1 / 2;
grid-row: 1 / 2; }
.layout--uw-inverted-l-right .layout__region--first {
.layout--uw-inverted-l-right .layout__region--second {
grid-column: 2 / 3;
grid-row: 1 / 2; }
......@@ -666,10 +666,6 @@
grid-column: 1 / 3;
grid-row: 2 / 3; }
.layout--uw-inverted-l-right .layout__region--fourth {
grid-column: 3 / 4;
grid-row: 1 / 3; }
.layout__region {
outline: 2px dashed #2f91da;
padding: 1.5rem;
......
......@@ -52,12 +52,16 @@
</div>
{% if inverted_l_left or inverted_l_right %}
{% if inverted_l_left and loop.index == 1 or loop.index == 4 %}
</div>
{% if inverted_l_left %}
{% if loop.index == 1 or loop.index == 4 %}
</div>
{% endif %}
{% endif %}
{% if inverted_l_right and loop.index == 3 or loop.index == 4 %}
</div>
{% if inverted_l_right %}
{% if loop.index == 3 or loop.index == 4 %}
</div>
{% endif %}
{% endif %}
{% endif %}
......
......@@ -32,7 +32,7 @@
grid-row: 1 / 2;
}
.layout__region--first {
.layout__region--second {
grid-column: 2 / 3;
grid-row: 1 / 2;
}
......@@ -42,8 +42,4 @@
grid-row: 2 / 3;
}
.layout__region--fourth {
grid-column: 3 / 4;
grid-row: 1 / 3;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment