diff --git a/source/_patterns/04-components/view/_view.scss b/source/_patterns/04-components/view/_view.scss index c2c84344ec3a1d5550b71c0854276f34d0c27150..8ceb9cb496c5e49627ac5d497e1484f7034564fa 100644 --- a/source/_patterns/04-components/view/_view.scss +++ b/source/_patterns/04-components/view/_view.scss @@ -13,20 +13,21 @@ $sidebar-width: 18.75rem; &s-element-container{ @include uw-contained-width; position:relative; + .block-views &, + .block-layout-builder &{ + padding:0; + } + @include xl { + .block-views &, + .block-layout-builder & { + padding: 0; + } + } } display: grid; - gap:1rem; grid-template-columns: 100%; padding:0; position: relative; - .block-views &{ - padding:0; - } - @include xl { - .block-views &{ - padding:0; - } - } &.view-uw-view-contacts{ padding-left:0; padding-right:0; @@ -61,7 +62,7 @@ $sidebar-width: 18.75rem; grid-row:2/3; width:100%; .views-row{ - width: 100% + width: 100%; } } @@ -84,9 +85,6 @@ $sidebar-width: 18.75rem; gap:$grid-gap; grid-template-columns: auto $sidebar-width; } - .view-header { - // css - } .view-content { @include uw-flex-grid(); grid-column:1/2; @@ -160,7 +158,7 @@ $sidebar-width: 18.75rem; } } - // Overite the view for when in services or catalog + // Ovewrite the view for when in services or catalog &-uw-view-catalog-show-nodes, &-uw-view-catalog-show-terms, &-uw-view-taxonomy-show-nodes, @@ -189,9 +187,6 @@ $sidebar-width: 18.75rem; } } - } - .views-row{ - } p{ margin:0; @@ -291,16 +286,14 @@ $sidebar-width: 18.75rem; } } } -.uw-offcanvas--filter{ - display: flex; - gap:0.5rem; - justify-content:flex-end; -} //Setting the views views-row item grids. .path-news, +.view-uw-view-news-items, .path-blog, +.view-uw-view-blogs, .path-events, +.view-uw-view-events, .path-profiles, .path-contacts{ .view-content { @@ -314,3 +307,8 @@ $sidebar-width: 18.75rem; } } } +.uw-offcanvas--filter{ + display: flex; + gap:0.5rem; + justify-content:flex-end; +}