Use flex with gap instead of margin.
This commit is contained in:
parent
da8a6f0505
commit
074f33342d
1 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,9 @@
|
|||
}
|
||||
#video_cards
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
row-gap: 8px;
|
||||
}
|
||||
.video_card
|
||||
{
|
||||
|
@ -33,7 +36,6 @@
|
|||
/auto 1fr auto;
|
||||
grid-gap: 4px;
|
||||
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
|
||||
border-radius: 4px;
|
||||
|
|
Loading…
Reference in a new issue