Skip to content

Commit

Permalink
Fixes #2700 circular labeled icon button
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jul 22, 2015
1 parent 7d0e7aa commit 077fdf3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -767,13 +767,14 @@
position: absolute;
height: 100%;
line-height: 1;
border-radius: 0px;
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;

width: @labeledIconWidth;
background-color: @labeledIconBackgroundColor;
text-align: center;
color: @labeledIconColor;

border-radius: @borderRadius 0px 0px @borderRadius;
box-shadow: @labeledIconLeftShadow;
}

Expand All @@ -792,7 +793,9 @@
.ui[class*="right labeled"].icon.button > .icon {
left: auto;
right: 0em;
border-radius: 0em @borderRadius @borderRadius 0em;
border-radius: 0px;
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
box-shadow: @labeledIconRightShadow;
}

Expand Down

0 comments on commit 077fdf3

Please sign in to comment.