From: Jeong Arm Date: Thu, 5 Aug 2021 11:05:32 +0000 (+0900) Subject: Fix trends layout (#16570) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6e0ab6814f4d3906c035e10a9cedbc41ae5967e9;p=mastodon.git Fix trends layout (#16570) --- 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; } }