Commit 7f54f045 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'gitlab-ui-259-style-checkboxes' into 'master'

Make changes suggested by Pedro for UX

See merge request gitlab-org/gitlab-ce!29324
parents 5eff8dd1 e83e3c74
...@@ -248,14 +248,24 @@ label { ...@@ -248,14 +248,24 @@ label {
.gl-form-checkbox { .gl-form-checkbox {
align-items: baseline; align-items: baseline;
margin-right: 1rem;
margin-bottom: 0.25rem;
.form-check-input {
margin-right: 0;
}
.form-check-label {
padding-left: $gl-padding-8;
}
&.form-check-inline .form-check-input { &.form-check-inline .form-check-input {
align-self: flex-start; align-self: flex-start;
margin-right: $gl-padding-8;
height: 1.5 * $gl-font-size; height: 1.5 * $gl-font-size;
} }
.help-text { .form-check-input:disabled,
margin-bottom: 0; .form-check-input:disabled ~ .form-check-label {
cursor: not-allowed;
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment