From eaa5a65a1fe840408784d068cf5029d65d899f77 Mon Sep 17 00:00:00 2001
From: Martin Leblanc <m26lebla@uwaterloo.ca>
Date: Wed, 26 Jun 2024 20:19:47 -0400
Subject: [PATCH] ISTWCMS-6494: Add css for when map set full width inside
 expand collapse

---
 src/patterns/03-layouts/layout/_layout.scss | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/patterns/03-layouts/layout/_layout.scss b/src/patterns/03-layouts/layout/_layout.scss
index 5a25b038..44278667 100644
--- a/src/patterns/03-layouts/layout/_layout.scss
+++ b/src/patterns/03-layouts/layout/_layout.scss
@@ -274,7 +274,7 @@
       .block-uw-cbl-waterloo-news {
         @include uw-full-width-margin;
 
-        .layout-builder &{
+        .layout-builder & {
           @include uw-full-width-reset;
           margin-left: 0;
           margin-right: 0;
@@ -288,7 +288,6 @@
           @include uw-full-width-reset;
         }
       }
-
       .block-inline-blockuw-cbl-google-maps {
         @include uw-contained-width;
         @media(min-width: $screen-md) {
@@ -306,7 +305,6 @@
           margin-left: var(--size-2);
         }
       }
-
       .block-uw-cbl-expand-collapse {
         .layout.uw-contained-width {
           max-width: 100%;
@@ -315,6 +313,9 @@
               @include uw-full-width-reset;
               margin-left: 0;
               margin-right: 0;
+              h2{
+                margin-left: inherit;
+              }
             }
             .uw-google-maps {
               display: block;
@@ -323,6 +324,13 @@
             }
           }
         }
+        .layout.uw-full-width {
+          .block-inline-blockuw-cbl-google-maps {
+            h2{
+              margin-left: inherit;
+            }
+          }
+        }
       }
     }
     &.card__media {
@@ -968,3 +976,4 @@
 .uw-section-has-full-width .layout.layout--uw-1-col {
   overflow: hidden;
 }
+
-- 
GitLab