Commit eb5d5783 authored by Eric Bremner's avatar Eric Bremner

ISTWCMS-4050: adding one column layout

parent 7430e7f8
......@@ -1765,6 +1765,12 @@ svg:not(:root) {
.layout--uwfourcol.legacy-23-27-27-23 {
grid-template-columns: 23% 27% 27% 23%; }
.layout--uwfourcol {
display: grid;
grid-template-columns: 100%; }
.layout--uwfourcol .layout__region--first {
grid-column: 1 / 2; }
.layout--uwthreecol {
display: grid; }
.layout--uwthreecol .layout__region--first {
......
.layout--uwfourcol {
display: grid;
grid-template-columns: 100%;
.layout__region--first {
grid-column: 1 / 2;
}
}
\ No newline at end of file
{%
set classes = [
'layout',
'layout--uwonecol',
column_class,
]
%}
<section{{ attributes.addClass(classes) }}>
<div {{ region_attributes.first.addClass('layout__region', 'layout__region--first') }}>
{% block content_first %}
Layout Region Column one
{% endblock %}
</div>
</section>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment