Css hack to add margin on first or last visible inputs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
966ceca8ea
commit
e77bddf56b
|
@ -903,6 +903,15 @@ kbd {
|
|||
}
|
||||
}
|
||||
}
|
||||
/* css hack, only first not hidden*/
|
||||
&:not(.hidden):not([style*='display: none']) {
|
||||
&:first-of-type input {
|
||||
margin-top: 10px;
|
||||
}
|
||||
&:last-of-type input {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
> button {
|
||||
padding: 0;
|
||||
span {
|
||||
|
|
Loading…
Reference in New Issue