[static-fe] limit according to- and within- existing ruleset
authorDym Sohin <pleroma-git@dym.sh>
Thu, 9 Jul 2020 09:37:50 +0000 (09:37 +0000)
committerDym Sohin <pleroma-git@dym.sh>
Thu, 9 Jul 2020 09:37:50 +0000 (09:37 +0000)
priv/static/static-fe/static-fe.css

index 308388abc6f1b0787c67fe6c7d6cc88a02cee882..89e9f48777926d50450235221dcf8131d72e65d9 100644 (file)
@@ -80,6 +80,7 @@ header a:hover, .h-card a:hover {
 /* keep emoji from being hilariously huge */
 .display-name img {
     max-height: 1em;
+    max-width: 1em;
 }
 
 .display-name .nickname {
@@ -181,8 +182,3 @@ img.emoji {
   padding: 0;
   vertical-align: middle;
 }
-
-.display-name img.emoji {
-  width: 1em;
-}
-