diff --git a/README.md b/README.md index cc5f6db..91de270 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,10 @@ Commits in the `release` branch may be [tagged for installation via packagist](h ## Changelog +### 1.1.5 + +- Eliminate unwanted horizontal scrolling on long pages by using 100% max width on full-width menus instead of 100vw + ### 1.1.4 - Resolve PHPCS warnings where static analysis could not detect pre-sanitized values. diff --git a/hm-mega-menu-block.php b/hm-mega-menu-block.php index 2b1db1b..6f1bad4 100644 --- a/hm-mega-menu-block.php +++ b/hm-mega-menu-block.php @@ -2,7 +2,7 @@ /** * Plugin Name: HM Mega Menu Block * Description: A megamenu block. - * Version: 1.1.4 + * Version: 1.1.5 * Requires at least: 6.5 * Requires PHP: 7.2 * License: GPL-2.0-or-later diff --git a/src/view.scss b/src/view.scss index 832ff95..8da6551 100644 --- a/src/view.scss +++ b/src/view.scss @@ -20,8 +20,8 @@ } &.menu-width-full { - max-width: 100vw; - width: 100vw; + max-width: 100%; + width: 100%; } .menu-container__close-button {