From 3e1f11fa92e8c659997d403ef872a9d27280f22f Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Thu, 21 Nov 2024 21:12:30 +0100 Subject: [PATCH] Pixel-perfect status quo --- app/javascript/styles/mastodon/components.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 1ab5cb845d..92afe51ef3 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -5617,11 +5617,18 @@ a.status-card { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; + + &:hover, + &:focus, + &:active, + &.selected { + color: $primary-text-color; + } } .icon-button { flex: 0; - padding: 10px 20px 10px 10px; + padding: 10px 19px 10px 10px; transition: none; } @@ -5630,11 +5637,6 @@ a.status-card { &:active, &.selected { background: $ui-highlight-color; - color: $primary-text-color; - - .icon-button { - color: $primary-text-color; - } } mark {