Use flex with gap instead of margin.

This commit is contained in:
voussoir 2021-11-08 02:01:14 -08:00
parent da8a6f0505
commit 074f33342d
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -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;