Skip to content

Commit

Permalink
Fixes dropdown arrow on left/right pointing #4896
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Feb 13, 2017
1 parent 27d58a0 commit 9642bda
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
**Bugs**
- **Button** - Fixed issue where css specificity caused `icon buttons` to not center correctly #4487
- **Dropdown** - Fixed bug where clicking `dropdown icon` using remote data would cause nothing to happen #4041
- **Dropdown** - Fixes issue where `left pointing dropdown` and `right pointing dropdown` appear styled incorrectly when opening `upward` #4896
- **Dropdown** - Fixed issue where using `fullTextSearch: 'exact'` would still fuzzy search on value **Thanks @ rminnett** #4651 #3424
- **Dropdown** - Fix bug where `scrolling menu` or `scrolling dropdown` would have excessive right padding by removing scrollbar width from calculation (no longer necessary in modern browsers)
- **Comments** - `small`, `large` and other comment sizes now default to global size variables.
Expand Down
26 changes: 26 additions & 0 deletions src/definitions/modules/dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -1347,5 +1347,31 @@ select.ui.dropdown {
margin: @pointingArrowOffset 0em 0em;
}

/* Right Pointing Upward */
.ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu {
top: auto;
bottom: 0;
margin: 0em @pointingArrowDistanceFromEdge 0em 0em;
}
.ui.upward.right.pointing.dropdown:not(.top):not(.bottom) > .menu:after {
top: auto;
bottom: 0;
margin: 0em 0em @pointingArrowDistanceFromEdge 0em;
box-shadow: @pointingArrowBoxShadow;
}


/* Left Pointing Upward */
.ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu {
top: auto;
bottom: 0;
margin: 0em 0em 0em @pointingArrowDistanceFromEdge;
}
.ui.upward.left.pointing.dropdown:not(.top):not(.bottom) > .menu:after {
top: auto;
bottom: 0;
margin: 0em 0em @pointingArrowDistanceFromEdge 0em;
box-shadow: @pointingArrowBoxShadow;
}

.loadUIOverrides();

1 comment on commit 9642bda

@vinayakkulkarni
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolves #4896

Please sign in to comment.