Browse Source

Fix icon button centering

pull/4454/merge
Jack Lukic 8 years ago
parent
commit
4a4fc9b2a0
2 changed files with 2 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/elements/button.less

1
RELEASE-NOTES.md

@ -8,6 +8,7 @@
- **Dropdown** - Added new setting `filterAPIResults` which when enabled will filter results locally by query after API returns, allowing your API call to return the full dropdown dataset. **Thanks @enix223** #4815 - **Dropdown** - Added new setting `filterAPIResults` which when enabled will filter results locally by query after API returns, allowing your API call to return the full dropdown dataset. **Thanks @enix223** #4815
**Bugs** **Bugs**
- **Button** - Fixed issue where css specificity caused `icon buttons` to not center correctly #4487
- **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) - **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. - **Comments** - `small`, `large` and other comment sizes now default to global size variables.

2
src/definitions/elements/button.less

@ -693,7 +693,7 @@
.ui.icon.buttons .button > .icon, .ui.icon.buttons .button > .icon,
.ui.icon.button > .icon { .ui.icon.button > .icon {
opacity: @iconButtonOpacity; opacity: @iconButtonOpacity;
margin: 0em;
margin: 0em !important;
vertical-align: top; vertical-align: top;
} }

Loading…
Cancel
Save