Browse Source

Fixed position of × on radio buttons

development
Godwin 8 years ago
committed by GitHub
parent
commit
aaaabb17c6
  1. 26
      app/assets/stylesheets/_application.scss

26
app/assets/stylesheets/_application.scss

@ -605,6 +605,13 @@ input {
}
}
&.inline input[type="radio"] + label {
@include after {
top: -0.15em;
left: 0.05em;
}
}
.other {
position: absolute;
top: 0;
@ -643,11 +650,6 @@ input {
label {
min-width: 7.5em;
@include after {
top: -0.15em;
left: 0.05em;
}
}
}
@ -3687,14 +3689,9 @@ html[data-ontop] {
border: 0.1em solid;
}
&.inline {
&.inline {
label {
float: left;
@include after {
top: -0.025em;
left: 0.175em;
}
}
&.vertical {
@ -3702,6 +3699,13 @@ html[data-ontop] {
float: none;
}
}
input[type="radio"] + label {
@include after {
top: -0.025em;
left: 0.175em;
}
}
}
}

Loading…
Cancel
Save