]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix very wide media attachments resulting in too thin a thumbnail
authorThibG <thib@sitedethib.com>
Tue, 23 Jun 2020 15:24:29 +0000 (17:24 +0200)
committerThibaut Girka <thib@sitedethib.com>
Wed, 24 Jun 2020 14:01:28 +0000 (16:01 +0200)
Port d469247083dbbe5d4f09cc9d13a3ebd400e6068e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/components/media.scss

index 69ce75cb67d4cfd4c67509019a9bdfe61a732f9e..772b40dc4501f48d3455fc8a124fa11f7cf6fd66 100644 (file)
@@ -76,7 +76,7 @@
   border-radius: 4px;
   position: relative;
   width: 100%;
-  height: 110px;
+  min-height: 64px;
 
   @include fullwidth-gallery;
 }