frontend(styles): extract shared form styles into the SCSS library

This commit is contained in:
Andras Schmelczer 2026-05-31 10:49:26 +01:00
parent af4216f383
commit d50aa53a73
4 changed files with 56 additions and 108 deletions

View file

@ -6,4 +6,22 @@
margin-bottom: $spacing;
}
}
& > lt-modal {
@if $horizontal {
margin-right: 0 !important;
} @else {
margin-bottom: 0 !important;
}
}
// Fixed modal hosts should not make the previous content child count as
// "not last" for spacing.
& > *:not(:last-child):not(lt-modal):not(:has(~ *:not(lt-modal))) {
@if $horizontal {
margin-right: 0;
} @else {
margin-bottom: 0;
}
}
}