diff --git a/styles/navigation/index.css b/styles/navigation/index.css index cfaabe4..41c706e 100644 --- a/styles/navigation/index.css +++ b/styles/navigation/index.css @@ -29,8 +29,8 @@ /* Mobile Navigation Style - Choose one of the following: */ /* Accordion/dropdown style */ -/* @import "./nav-mobile-accordion.css"; */ +@import "./nav-mobile-accordion.css"; /* Sliding viewport style */ -@import "./nav-mobile-sliding.css"; +/* @import "./nav-mobile-sliding.css"; */ @import "./nav-footer.css"; diff --git a/styles/navigation/nav-mobile-accordion.css b/styles/navigation/nav-mobile-accordion.css index 4e2498f..1781b8d 100644 --- a/styles/navigation/nav-mobile-accordion.css +++ b/styles/navigation/nav-mobile-accordion.css @@ -23,10 +23,8 @@ background: var(--color-cwc-blue-02); color: var(--color-white); - /* Cap the menu height to the visible viewport area so overflowing items - scroll inside the menu instead of letting the menu grow taller - than the screen. */ - max-height: calc(100vh - var(--hgtHeader)); + /* Cap the menu height to the visible viewport area so overflowing items scroll inside the menu instead of letting the menu grow taller than the screen. */ + height: calc(100vh - var(--hgtHeader)); top: var(--hgtHeader); width: 95%; z-index: 100; diff --git a/views/blocks/homepage-hero/homepage-hero.php b/views/blocks/homepage-hero/homepage-hero.php index d8ecd14..5b79a62 100644 --- a/views/blocks/homepage-hero/homepage-hero.php +++ b/views/blocks/homepage-hero/homepage-hero.php @@ -84,13 +84,13 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview ); -