Browse Source

#2973 - fixes spacing on right icon inside labeled icon button

pull/3015/head
Jack Lukic 9 years ago
parent
commit
ad4a057297
3 changed files with 7 additions and 2 deletions
  1. 5
      RELEASE-NOTES.md
  2. 3
      src/definitions/elements/button.less
  3. 1
      src/themes/default/elements/button.variables

5
RELEASE-NOTES.md

@ -6,8 +6,11 @@
- **Build** - Fixed issue where using a packaged theme without a `site.variables` would cause build to fail
**Bugfixes**
- **Button** -
- **Table** - Fixed issue where `(x) column segment table` was inheriting accidentally inheriting some grid styles
- **Grid** - Fixed `middle aligned grid` not applying to columns #2959
- **Menu** - Fixed issue where `right menu` was not floating correctly inside a `menu > container` on mobile #2969
- **Button** - Fixes `right labeled icon button` with a `right` named icon (for example `right arrow`) having incorrect margin on icon. #2973
### Version 2.1.3 - Sep 03, 2015

3
src/definitions/elements/button.less

@ -834,10 +834,11 @@
border-radius: 0px;
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
text-align: center;
margin: @labeledIconMargin;
width: @labeledIconWidth;
background-color: @labeledIconBackgroundColor;
text-align: center;
color: @labeledIconColor;
box-shadow: @labeledIconLeftShadow;
}

1
src/themes/default/elements/button.variables

@ -167,6 +167,7 @@
@labeledLabelBorderColor: @borderColor;
@labeledLabelBorderOffset: -@borderBoxShadowWidth;
@labeledTagLabelSize: 1.85em; /* hypotenuse of triangle */
@labeledIconMargin: 0em;
/* Labeled Icon */
@labeledIconWidth: 1em + (@verticalPadding * 2);

Loading…
Cancel
Save