From 160eca479501103c016154121706a1c7cf1f897a Mon Sep 17 00:00:00 2001 From: Jonathan Fung <16733034+jonathanfung@users.noreply.github.com> Date: Fri, 17 Sep 2021 08:46:19 -0500 Subject: [PATCH] Allow media grid item images to fill container See [#5291][0]. Fixes [#5241][1]. [0]: https://github.com/signalapp/Signal-Desktop/pull/5291 [1]: https://github.com/signalapp/Signal-Desktop/issues/5241 --- stylesheets/_modules.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 17fad730ee13..2b45f94d4867 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -3058,7 +3058,7 @@ button.module-conversation-details__action-button { .module-media-grid-item__image { height: 94px; - width: 94px; + width: 100%; object-fit: cover; } @@ -3075,9 +3075,6 @@ button.module-conversation-details__action-button { } .module-media-grid-item__image-container { - height: 94px; - width: 94px; - object-fit: cover; position: relative; }