frontend(styles): extract shared form styles into the SCSS library
This commit is contained in:
parent
af4216f383
commit
d50aa53a73
4 changed files with 56 additions and 108 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue