about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2021-08-05 20:05:32 +0900
committerClaire <claire.github-309c@sitedethib.com>2021-08-09 23:40:31 +0200
commit8d55cb7d711723fe2a35377ee2443cb11de11cc3 (patch)
treecf9aa3012cc1bf3fb5cdf0da4bc316ed222e78c2 /app/javascript/flavours/glitch/styles/components
parent76c7226eb0084ac3340d9935f1dbcbfaa132f436 (diff)
[Glitch] Fix trends layout
Port 6e0ab6814f4d3906c035e10a9cedbc41ae5967e9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components')
-rw-r--r--app/javascript/flavours/glitch/styles/components/index.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss
index 24f750e1d..04bd8805a 100644
--- a/app/javascript/flavours/glitch/styles/components/index.scss
+++ b/app/javascript/flavours/glitch/styles/components/index.scss
@@ -977,13 +977,13 @@
     }
 
     @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;
       }
     }