]> cat aescling's git repositories - mastodon.git/commitdiff
Fix trends layout (#16570)
authorJeong Arm <kjwonmail@gmail.com>
Thu, 5 Aug 2021 11:05:32 +0000 (20:05 +0900)
committerGitHub <noreply@github.com>
Thu, 5 Aug 2021 11:05:32 +0000 (13:05 +0200)
app/javascript/styles/mastodon/components.scss

index 35c10b096d0d4ab7bc21b7000995034c1e2efb82..5f570f4a41f8e0773d58705c0da72c21a6ce3023 100644 (file)
@@ -3022,13 +3022,13 @@ a.account__display-name {
     }
 
     @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;
       }
     }