Permalink
Browse files

Improve wdn-button-group styles

Removes extra styles to apply rounded borders to children (use overflow)
Only applies extra padding to direct children of group-btn
  • Loading branch information...
kabel committed Jul 13, 2015
1 parent d900408 commit abc242eff84a85ab3525c053471d1ed05313f30f
Showing with 3 additions and 10 deletions.
  1. +3 −10 wdn/templates_4.0/less/layouts/forms.less
@@ -109,7 +109,7 @@ form {
width: 1%;
vertical-align: middle;
* {
> * {
line-height: normal;
padding: 1.3em 1.333em;
margin: 0;
@@ -119,20 +119,13 @@ form {
> :first-child {
.border-radius(4px 0 0 4px);
* {
.border-radius(4px 0 0 4px);
}
overflow: hidden;
}
> :last-child {
.border-bottom-right-radius(4px);
.border-top-right-radius(4px);
* {
.border-bottom-right-radius(4px);
.border-top-right-radius(4px);
}
overflow: hidden;
}
}

0 comments on commit abc242e

Please sign in to comment.