about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2021-08-05 20:05:32 +0900
committerGitHub <noreply@github.com>2021-08-05 13:05:32 +0200
commit6e0ab6814f4d3906c035e10a9cedbc41ae5967e9 (patch)
tree2fd325792135c478344dc5c51a184de03a3eb68f /app/javascript
parent48d817f2bf713a5df3f6a4971b333c0fd45cc828 (diff)
Fix trends layout (#16570)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/components.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 35c10b096..5f570f4a4 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -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;
       }
     }