]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix trends layout
authorJeong Arm <kjwonmail@gmail.com>
Thu, 5 Aug 2021 11:05:32 +0000 (20:05 +0900)
committerClaire <claire.github-309c@sitedethib.com>
Mon, 9 Aug 2021 21:40:31 +0000 (23:40 +0200)
Port 6e0ab6814f4d3906c035e10a9cedbc41ae5967e9 to glitch-soc

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

index 24f750e1de765b4c0c4c59ed3a468a6d731e5d05..04bd8805a5c7b132b8944fb4b8e83d2e98a598a6 100644 (file)
     }
 
     @media screen and (max-height: 810px) {
-      .trends__item:nth-child(3) {
+      .trends__item:nth-of-type(3) {
         display: none;
       }
     }
 
     @media screen and (max-height: 720px) {
-      .trends__item:nth-child(2) {
+      .trends__item:nth-of-type(2) {
         display: none;
       }
     }