From 074f33342de840dafb7071583f8b5c01eff46386 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 8 Nov 2021 02:01:14 -0800 Subject: [PATCH] Use flex with gap instead of margin. --- frontends/ycdl_flask/templates/channel.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontends/ycdl_flask/templates/channel.html b/frontends/ycdl_flask/templates/channel.html index d1ee01b..4304dbc 100644 --- a/frontends/ycdl_flask/templates/channel.html +++ b/frontends/ycdl_flask/templates/channel.html @@ -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;