From e5f2b788fe7fb1c5df0c3992bef3e8a6e614a543 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 2 Apr 2020 21:59:22 -0700 Subject: [PATCH] Replace bottom & right margin with all-round 8px. The two-sided margin was meant to create a particular spacing on the albums page, but the purpose of cards is I should be able to use them in many other contexts. So an all-round margin is easier to work with when displaying cards anywhere else. --- frontends/etiquette_flask/static/css/photo_card.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontends/etiquette_flask/static/css/photo_card.css b/frontends/etiquette_flask/static/css/photo_card.css index 052526c..648b100 100644 --- a/frontends/etiquette_flask/static/css/photo_card.css +++ b/frontends/etiquette_flask/static/css/photo_card.css @@ -28,8 +28,7 @@ max-width: 325px; width: 100%; - margin-right: 8px; - margin-bottom: 8px; + margin: 8px; padding: 8px; } .album_card_thumbnail