Skip to content

Commit

Permalink
fix(Select): fixed single select (radio input) styling
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB committed Nov 16, 2016
1 parent 93addba commit fa4f70b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
9 changes: 9 additions & 0 deletions css/button-bar-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
.button-bar__item {
width: auto;
border-radius: 0;
position: relative;
}

.button-bar__item > input {
width: 100%;
height: 100%;
top: 0;
left: 0;
margin: 0;
}

.button-bar__button:focus {
Expand Down
6 changes: 6 additions & 0 deletions src/button-bar-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
%button-bar__item {
width: auto;
border-radius: 0;
position: relative;
}

%button-bar__item--disabled {
Expand All @@ -17,6 +18,11 @@

%button-bar__item__input {
@extend: %hide-input;
width: 100%;
height: 100%;
top: 0;
left: 0;
margin: 0;
}

%button-bar__button {
Expand Down
9 changes: 9 additions & 0 deletions test/button-bar-base.expected.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
.button-bar__item {
width: auto;
border-radius: 0;
position: relative;
}

.button-bar__item > input {
width: 100%;
height: 100%;
top: 0;
left: 0;
margin: 0;
}

.button-bar__button:focus {
Expand Down
2 changes: 1 addition & 1 deletion test/button-bar-base.fixture.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}

.button-bar__item > input {
@extend: %hide-input;
@extend: %button-bar__item__input;
}

.button-bar__button {
Expand Down

0 comments on commit fa4f70b

Please sign in to comment.