diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 172bf4307..02a89d074 100755 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -3,6 +3,7 @@ ### Version 2.2.11 - April XX, 2017 **Enhancements** +- **Dropdown** - Improved spacing on `img` inside `menu item` and for selected `text` - **Modal** - Adds `tiny` and `mini` sized modals #5123 **Thanks @Banandrew** - **Modal** - Adds new `scrolling content` variation to have a modal with content that scrolls - **Popup* - Added `bind clickaway` `bind touchclose` `bind close on scroll` behaviors to make it easier for `on: 'manual'` popup to specify behavior diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less index 51f29e51f..c6c4fa620 100755 --- a/src/definitions/modules/dropdown.less +++ b/src/definitions/modules/dropdown.less @@ -285,8 +285,10 @@ .ui.dropdown .menu > .item > .image, .ui.dropdown .menu > .item > img { display: inline-block; - vertical-align: middle; + vertical-align: top; width: auto; + margin-top: @menuImageVerticalMargin; + margin-bottom: @menuImageVerticalMargin; max-height: @menuImageMaxHeight; } diff --git a/src/themes/default/modules/dropdown.variables b/src/themes/default/modules/dropdown.variables index 4000f0710..d74599f66 100755 --- a/src/themes/default/modules/dropdown.variables +++ b/src/themes/default/modules/dropdown.variables @@ -94,6 +94,7 @@ /* Menu Image */ @menuImageMaxHeight: 2em; +@menuImageVerticalMargin: -(@menuImageMaxHeight - 1em) / 2; /* Item Sub-Element */ @itemElementFloat: none;