mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
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 {
|
.label-required {
|
||||||
color: $text-muted;
|
color: $text-muted;
|
||||||
display: block;
|
display: inline;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
.checkbox .label-required {
|
.has-error .label-required {
|
||||||
display: inline;
|
color: inherit;
|
||||||
|
}
|
||||||
|
.label-required {
|
||||||
&:before {
|
&:before {
|
||||||
content: " (";
|
content: " (";
|
||||||
}
|
}
|
||||||
@@ -157,6 +159,17 @@ output {
|
|||||||
content: ")";
|
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 {
|
.form-control-text {
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
|
|||||||
Reference in New Issue
Block a user