Skip to content

Commit cbf9a92

Browse files
author
Adam Bradley
committed
.button-icon vertical centering .icon when in .bar, closes #168
1 parent 915f98b commit cbf9a92

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

scss/_button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
padding: 0 6px;
130130
min-width: initial;
131131
background: none;
132-
border: none;
132+
border-color: transparent;
133133
background: none;
134134

135135
&.button:active, &.button.active {
@@ -148,7 +148,7 @@
148148
@include transition(opacity .1s);
149149
padding: 0 $button-clear-padding;
150150
max-height: $button-height;
151-
border: none;
151+
border-color: transparent;
152152
background: none;
153153
box-shadow: none;
154154

scss/_mixins.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,17 @@
2323
&.button-clear {
2424
color: $color;
2525
background: none;
26+
border-color: transparent;
2627
box-shadow: none;
2728

2829
@if $font-size != "" {
2930
font-size: $font-size;
3031
}
3132
}
33+
&.button-icon {
34+
background: none;
35+
border-color: transparent;
36+
}
3237
}
3338

3439
@mixin button-outline($color, $text-color:"") {

0 commit comments

Comments
 (0)