]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Use custom mascot on static share page
authorJeong Arm <kjwonmail@gmail.com>
Thu, 11 Feb 2021 01:18:56 +0000 (10:18 +0900)
committerClaire <claire.github-309c@sitedethib.com>
Fri, 12 Feb 2021 09:57:09 +0000 (10:57 +0100)
Port d499bb031f0d20a5f27facfd57cf4e00f89003d7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/modal.scss

index 10de454c696b73a637e35f13833dfef2c53e1398..6c6de4206c028645158aff3f1dbf948534ea2002 100644 (file)
   flex-direction: column;
   justify-content: flex-end;
 
-  > * {
+  > div {
     flex: 1;
     max-height: 235px;
-    background: url('~images/elephant_ui_plane.svg') no-repeat left bottom / contain;
+    position: relative;
+
+    img {
+      max-height: 100%;
+      max-width: 100%;
+      height: 100%;
+      position: absolute;
+      bottom: 0;
+      left: 0;
+    }
   }
 }