From b7f745443bba497bda1e933de96a22166cd577df Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 21 Dec 2019 14:50:38 -0800 Subject: [PATCH] Rearrange some of these rules. --- .../etiquette_flask/static/css/photo_card.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontends/etiquette_flask/static/css/photo_card.css b/frontends/etiquette_flask/static/css/photo_card.css index 4ee7a53..fd0c99d 100644 --- a/frontends/etiquette_flask/static/css/photo_card.css +++ b/frontends/etiquette_flask/static/css/photo_card.css @@ -74,6 +74,10 @@ { background-color: var(--color_theme_secondary); } +.photo_card:hover +{ + box-shadow: 2px 2px 5px 0px var(--color_site_dropshadow); +} .photo_card_list { display: grid; @@ -84,10 +88,6 @@ margin: 8px; padding: 4px; } -.photo_card:hover -{ - box-shadow: 2px 2px 5px 0px var(--color_site_dropshadow); -} .photo_card_list .photo_card_selector_checkbox { grid-area: checkbox; @@ -152,16 +152,16 @@ background-color: inherit; word-break: break-word; } +.photo_card_list .photo_card_filename +{ + align-self: center; +} .photo_card_grid .photo_card_filename { align-self: start; max-height: 30px; font-size: 12.8px; } -.photo_card_list .photo_card_filename -{ - align-self: center; -} .photo_card_grid .photo_card_filename:hover { overflow: visible;