From 5c0bef4e9b01968baf96c5c170d295298403e622 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 20 Jul 2020 20:36:11 -0500 Subject: [PATCH] Fix header .still-image on mobile --- app/styles/components/account-header.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/styles/components/account-header.scss b/app/styles/components/account-header.scss index f20e0c3ba..bfd61aa8c 100644 --- a/app/styles/components/account-header.scss +++ b/app/styles/components/account-header.scss @@ -22,6 +22,7 @@ background: var(--accent-color--med); @media screen and (max-width: 895px) {height: 225px;} &--none {height: 125px;} + img { object-fit: cover; display: block; @@ -30,6 +31,10 @@ margin: 0; } + .still-image { + height: 100%; + } + .still-image--play-on-hover::before { content: 'GIF'; position: absolute;