Browse Source

Position "or" vertical aligned.

pull/1453/head
Dominic Vonk 10 years ago
parent
commit
c93e5c2088
4 changed files with 5 additions and 3 deletions
  1. 3
      dist/semantic.css
  2. 2
      dist/semantic.min.css
  3. 1
      src/definitions/elements/button.less
  4. 2
      src/themes/default/elements/button.variables

3
dist/semantic.css

@ -1603,7 +1603,8 @@ a:hover {
margin-left: -0.892855em;
width: 1.78571em;
height: 1.78571em;
line-height: 1.58571em;
vertical-align: middle;
line-height: 1.78571em;
color: rgba(0, 0, 0, 0.4);
font-style: normal;
font-weight: bold;

2
dist/semantic.min.css
File diff suppressed because it is too large
View File

1
src/definitions/elements/button.less

@ -891,6 +891,7 @@
width: @orCircleSize;
height: @orCircleSize;
vertical-align: middle;
line-height: @orLineHeight;
color: @orTextColor;

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

@ -133,7 +133,7 @@
@orCircleDistanceToEdge: (@verticalPadding);
@orCircleSize: @orHeight - @orCircleDistanceToEdge;
@orLineHeight: (@orCircleSize - 0.2em);
@orLineHeight: (@orCircleSize);
@orBoxShadow: @borderBoxShadow;
@orVerticalOffset: -(@orCircleSize / 2);

Loading…
Cancel
Save