Elastic: Don't use cursor:pointer on disabled switches

pull/6730/head
Aleksander Machniak 6 years ago
parent 187b51fd82
commit 7457829c49

@ -1302,7 +1302,6 @@ html.ms .propform {
&:after { &:after {
border-radius: .6rem; border-radius: .6rem;
margin: .15rem 0; margin: .15rem 0;
cursor: pointer;
html.touch & { html.touch & {
border-radius: .8rem; border-radius: .8rem;
@ -1342,6 +1341,12 @@ html.ms .propform {
transform: translateX(1rem); transform: translateX(1rem);
} }
} }
.custom-control-input:not(:disabled) ~ .custom-control-label {
&:after, &:before {
cursor: pointer;
}
}
} }
.custom-file { .custom-file {

Loading…
Cancel
Save