forked from CGM_Public/pretix_original
Remove line-break before "required" in label on small screens (#5074)
This commit is contained in:
committed by
GitHub
parent
c487373340
commit
f676a77536
@@ -143,13 +143,15 @@ output {
|
||||
|
||||
.label-required {
|
||||
color: $text-muted;
|
||||
display: block;
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 85%;
|
||||
}
|
||||
.checkbox .label-required {
|
||||
display: inline;
|
||||
.has-error .label-required {
|
||||
color: inherit;
|
||||
}
|
||||
.label-required {
|
||||
&:before {
|
||||
content: " (";
|
||||
}
|
||||
@@ -157,6 +159,17 @@ output {
|
||||
content: ")";
|
||||
}
|
||||
}
|
||||
@media (min-width: $screen-md-min) {
|
||||
.form-group:not(:has(.checkbox)) {
|
||||
.label-required {
|
||||
display: block;
|
||||
}
|
||||
.label-required:before,
|
||||
.label-required:after {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-control-text {
|
||||
padding-top: 7px;
|
||||
|
||||
Reference in New Issue
Block a user