mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Recreate border-spacing with margins for #fields
This commit is contained in:
parent
9b5d915983
commit
b2b17f4c3d
1 changed files with 12 additions and 0 deletions
|
@ -5,6 +5,18 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
||||||
|
& > * {
|
||||||
|
margin: 1px 0;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.field {
|
.field {
|
||||||
|
|
Loading…
Reference in a new issue