1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

🔧 Improve margin of @{form-row}s as the first or last child of a form

This commit is contained in:
Steffo 2021-10-15 04:25:12 +02:00
parent 122c250510
commit a5e28827a4
Signed by: steffo
GPG key ID: 6965406171929D01
15 changed files with 93 additions and 7 deletions

View file

@ -1099,6 +1099,14 @@
@{panel} {
margin: 0;
}
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
}

View file

@ -2226,6 +2226,18 @@ body .form .form-row .panel,
.bluelib .form .form-row .panel {
margin: 0;
}
body form .form-row:first-child,
.bluelib form .form-row:first-child,
body .form .form-row:first-child,
.bluelib .form .form-row:first-child {
margin-top: 0;
}
body form .form-row:last-child,
.bluelib form .form-row:last-child,
body .form .form-row:last-child,
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
body h1,
.bluelib h1,
body h2,

File diff suppressed because one or more lines are too long

View file

@ -2226,6 +2226,18 @@ body .form .form-row .panel,
.bluelib .form .form-row .panel {
margin: 0;
}
body form .form-row:first-child,
.bluelib form .form-row:first-child,
body .form .form-row:first-child,
.bluelib .form .form-row:first-child {
margin-top: 0;
}
body form .form-row:last-child,
.bluelib form .form-row:last-child,
body .form .form-row:last-child,
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
body h1,
.bluelib h1,
body h2,

File diff suppressed because one or more lines are too long

View file

@ -2226,6 +2226,18 @@ body .form .form-row .panel,
.bluelib .form .form-row .panel {
margin: 0;
}
body form .form-row:first-child,
.bluelib form .form-row:first-child,
body .form .form-row:first-child,
.bluelib .form .form-row:first-child {
margin-top: 0;
}
body form .form-row:last-child,
.bluelib form .form-row:last-child,
body .form .form-row:last-child,
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
body h1,
.bluelib h1,
body h2,

File diff suppressed because one or more lines are too long

View file

@ -2226,6 +2226,18 @@ body .form .form-row .panel,
.bluelib .form .form-row .panel {
margin: 0;
}
body form .form-row:first-child,
.bluelib form .form-row:first-child,
body .form .form-row:first-child,
.bluelib .form .form-row:first-child {
margin-top: 0;
}
body form .form-row:last-child,
.bluelib form .form-row:last-child,
body .form .form-row:last-child,
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
body h1,
.bluelib h1,
body h2,

File diff suppressed because one or more lines are too long

View file

@ -550,6 +550,12 @@
.bluelib .form .form-row .panel {
margin: 0;
}
.bluelib .form .form-row:first-child {
margin-top: 0;
}
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
.bluelib .heading {
text-align: center;
--bluelib-color-r: var(--bluelib-accent-r);

File diff suppressed because one or more lines are too long

View file

@ -2226,6 +2226,18 @@ body .form .form-row .panel,
.bluelib .form .form-row .panel {
margin: 0;
}
body form .form-row:first-child,
.bluelib form .form-row:first-child,
body .form .form-row:first-child,
.bluelib .form .form-row:first-child {
margin-top: 0;
}
body form .form-row:last-child,
.bluelib form .form-row:last-child,
body .form .form-row:last-child,
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
body h1,
.bluelib h1,
body h2,

File diff suppressed because one or more lines are too long

View file

@ -2226,6 +2226,18 @@ body .form .form-row .panel,
.bluelib .form .form-row .panel {
margin: 0;
}
body form .form-row:first-child,
.bluelib form .form-row:first-child,
body .form .form-row:first-child,
.bluelib .form .form-row:first-child {
margin-top: 0;
}
body form .form-row:last-child,
.bluelib form .form-row:last-child,
body .form .form-row:last-child,
.bluelib .form .form-row:last-child {
margin-bottom: 0;
}
body h1,
.bluelib h1,
body h2,

File diff suppressed because one or more lines are too long