Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hm-mega-menu-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}

&.menu-width-full {
max-width: 100vw;
width: 100vw;
max-width: 100%;
width: 100%;
}

.menu-container__close-button {
Expand Down
Loading