Skip to content

Commit cc83ee3

Browse files
authored
Merge pull request #1056 from cristycarpenter/STENCIL-3380
STENCIL-3380: Adds auto height to alternative nav menu and submenus.
2 parents 4cb9784 + e98dad0 commit cc83ee3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Add bulk discount rates to product cards [#1058](https://github.com/bigcommerce/cornerstone/pull/1058)
99
- Add higher z-index to display text over burst image [#1066](https://github.com/bigcommerce/cornerstone/pull/1066)
1010
- Do not show add to cart on disabled products, add pre-order button, update pre-order url to add product to cart & fix login for pricing on product cards. [#1063](https://github.com/bigcommerce/cornerstone/pull/1063)
11+
- Add auto height to the alternative navigation menu and its submenus. [#1056](https://github.com/bigcommerce/cornerstone/pull/1056)
1112

1213
## 1.9.1 (2017-07-25)
1314
- Move some hard-coded validation messages to language file [#1040](https://github.com/bigcommerce/cornerstone/pull/1040)

assets/scss/components/stencil/navPages/_navPages.scss

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308
.has-subMenu.is-root + .navPage-subMenu-horizontal {
309309
@include breakpoint("medium") {
310310
border-left: 0;
311+
height: $navPage-subMenu-horizontal-height;
311312
left: inherit;
312313
margin: auto;
313314
top: inherit;

assets/scss/settings/stencil/navPages/_settings.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$navPage-borderColor: stencilColor("navPages-subMenu-separatorColor");
55
$navPage-childList-borderColor: $navPage-borderColor;
66
$navPage-subMenu-horizontal-backgroundColor: stencilColor("navPages-subMenu-backgroundColor");
7-
$navPage-subMenu-horizontal-height: rem-calc(242px);
7+
$navPage-subMenu-horizontal-height: auto;
88
$navPage-subMenu-horizontal-width: rem-calc(215px);
99
$navPage-subMenu-item--is-highlighted-background: #c8bdb2;
1010
$navPage-subMenu-item--is-highlighted-color: #000;

0 commit comments

Comments
 (0)