Skip to content
Snippets Groups Projects
Commit 2f119879 authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

CSS radio labels also need to be display block or they will overlap.

parent 2629dc0c
No related branches found
No related tags found
No related merge requests found
...@@ -251,6 +251,7 @@ ...@@ -251,6 +251,7 @@
[type='radio'] + label, [type='radio'] + label,
[type='checkbox'] + label { [type='checkbox'] + label {
display: block;
position: relative; position: relative;
padding-left: 30px; padding-left: 30px;
cursor: pointer; cursor: pointer;
...@@ -304,10 +305,6 @@ ...@@ -304,10 +305,6 @@
// Checkbox specific // Checkbox specific
input[type='checkbox'] { input[type='checkbox'] {
& + label {
display: block;
}
& + label::before { & + label::before {
transition: background-color $transition; transition: background-color $transition;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment