From 8eb7c3304ee1260de3e8e1d1f32bd67409488756 Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Mon, 3 Jun 2019 01:04:41 +0900 Subject: [Glitch] Fix profile picture preview Port e13e4b28db7e066d1f6f21e306aa95b97c3ccd99 to glitch-soc Signed-off-by: Thibaut Girka --- app/javascript/flavours/glitch/styles/accounts.scss | 1 + 1 file changed, 1 insertion(+) (limited to 'app/javascript/flavours/glitch/styles') diff --git a/app/javascript/flavours/glitch/styles/accounts.scss b/app/javascript/flavours/glitch/styles/accounts.scss index 57451c3a1..8b8c615ee 100644 --- a/app/javascript/flavours/glitch/styles/accounts.scss +++ b/app/javascript/flavours/glitch/styles/accounts.scss @@ -70,6 +70,7 @@ border-radius: 4px; @include avatar-radius(); background: darken($ui-base-color, 8%); + object-fit: cover; } } -- cgit From 83600198961cce9bfe82cf0f0c33286703bc86d1 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 6 Jun 2019 13:34:33 +0200 Subject: Fix display of alt-text when a media attachment is not available --- app/javascript/flavours/glitch/styles/components/media.scss | 1 - 1 file changed, 1 deletion(-) (limited to 'app/javascript/flavours/glitch/styles') diff --git a/app/javascript/flavours/glitch/styles/components/media.scss b/app/javascript/flavours/glitch/styles/components/media.scss index e5927057e..8b5d0486d 100644 --- a/app/javascript/flavours/glitch/styles/components/media.scss +++ b/app/javascript/flavours/glitch/styles/components/media.scss @@ -117,7 +117,6 @@ display: block; text-decoration: none; color: $secondary-text-color; - line-height: 0; position: relative; z-index: 1; -- cgit