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;