Skip to content
Snippets Groups Projects
Commit a661446b authored by Ron Lucke's avatar Ron Lucke
Browse files

Layout Bug: Breite von Labels in Formularen nicht mehr richtig

Closes #4871

Merge request studip/studip!3648
parent 16d82184
No related branches found
No related tags found
No related merge requests found
...@@ -203,7 +203,7 @@ form.default { ...@@ -203,7 +203,7 @@ form.default {
border: solid 1px var(--color--fieldset-border); border: solid 1px var(--color--fieldset-border);
margin: 0 0 15px; margin: 0 0 15px;
min-width: auto; min-width: auto;
padding: 0 0 10px 0; padding: 0 10px 10px 10px;
> legend { > legend {
box-sizing: border-box; box-sizing: border-box;
...@@ -212,8 +212,8 @@ form.default { ...@@ -212,8 +212,8 @@ form.default {
border-bottom: 0; border-bottom: 0;
font-size: $font-size-h3; font-size: $font-size-h3;
padding: 10px; padding: 10px;
margin: 0 0 10px -1px; margin: 0 0 10px -11px;
width: calc(100% + 2px); width: calc(100% + 22px);
} }
// Insert invisible element that corrects double padding/margin at the // Insert invisible element that corrects double padding/margin at the
...@@ -225,8 +225,6 @@ form.default { ...@@ -225,8 +225,6 @@ form.default {
} }
> :not(legend) { > :not(legend) {
margin-left: 10px;
margin-right: 10px;
max-width: calc(100% - 20px); max-width: calc(100% - 20px);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment