webapp: right-align labels for inputs on non-sm viewports

this change tries to achieve a pleasing look of input forms by
right-aligning the texts of labels. the input form now looks similar
to a table, achieving a cleaner look, especially for forms where the
labels have varying text lenghts.
This commit is contained in:
Bernhard Kirchen 2024-10-25 21:55:31 +02:00 committed by Thomas Basler
parent 130d90ce04
commit c750defc5f

View File

@ -4,3 +4,10 @@
.container-fluid .row { .container-fluid .row {
font-feature-settings: 'tnum'; font-feature-settings: 'tnum';
} }
@include media-breakpoint-up(sm) {
label.col-form-label,
label.form-check-label {
text-align: end;
}
}