Browse Source

Fix scrolling menu item height

pull/2301/head
jlukic 9 years ago
parent
commit
e5807f48aa
2 changed files with 5 additions and 7 deletions
  1. 1
      RELEASE-NOTES.md
  2. 11
      src/themes/default/modules/dropdown.variables

1
RELEASE-NOTES.md

@ -182,6 +182,7 @@
- **Popup** - Fixed bug which could cause pre-existing inline popup to be removed from DOM after hiding
- **Popup** - Fixes popup offstage position calculations with pages including horizontal scrollbars
- **Reveal** - Removed `masked` reveal, all reveals are masked by default
- **RTL** - Fixed `rtl: 'both'` in `semantic.json` not building both versions of source correctly.
- **Search** - Search will no longer incorrectly produce an error when API settings are passed through metadata
- **Sidebar** - Top/Bottom sidebar will now show scroll bars correctly when taller than 100% page height
- **Sidebar** - Fixed bug where having a `style[title]` in page causing page not to be pushed correctly

11
src/themes/default/modules/dropdown.variables

@ -120,7 +120,7 @@
--------------------*/
/* Selection */
@selectionMinWidth: 200px;
@selectionBorderEmWidth: 0.0785em; /* 2px / em size */
@selectionBorderEmWidth: 0.0714285em; /* 1px / em size */
@selectionMinHeight: @defaultInputLineHeight + (@selectionVerticalPadding * 2) - @selectionBorderEmWidth;
@selectionBackground: @white;
@selectionDisplay: inline-block;
@ -305,7 +305,7 @@
--------------------*/
/* Scrolling */
@scrollingMinWidth: 250px;
@scrollingMinWidth: 15em;
@scrollingMenuItemBorder: @selectionItemDivider;
@scrollingMobileMaxItems: 4;
@ -313,7 +313,7 @@
@scrollingComputerMaxItems: 8;
@scrollingWidescreenMaxItems: 12;
@scrollingBorderEMWidth: 0.0785em; /* 1px / em size */
@scrollingBorderEMWidth: 0em; /* 0px / em size */
@scrollingItemHeight: (@itemVerticalPadding * 2) + @itemLineHeight + @scrollingBorderEMWidth;
@scrollingMobileMaxMenuHeight: (@scrollingItemHeight * @scrollingMobileMaxItems);
@scrollingTabletMaxMenuHeight: (@scrollingItemHeight * @scrollingTabletMaxItems);
@ -343,10 +343,7 @@
/* Floating */
@floatingMenuDistance: 0.5em;
@floatingMenuBoxShadow:
0px 2px 4px 0px @borderColor,
0px 0px 10px 0px @internalBorderColor !important
;
@floatingMenuBoxShadow: @floatingShadow;
@floatingMenuBorderRadius: @borderRadius;
/* Pointing */

Loading…
Cancel
Save