From d55a117aa40e27398d728e3a9809d114b0979052 Mon Sep 17 00:00:00 2001 From: thislight Date: Sun, 24 Nov 2024 17:22:38 +0800 Subject: [PATCH] TootAuthorGroup: fix visual on Profile --- src/profiles/Profile.css | 26 +++++++++++++------------ src/timelines/toots/TootAuthorGroup.css | 2 +- src/timelines/toots/TootAuthorGroup.tsx | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/profiles/Profile.css b/src/profiles/Profile.css index 021afdd..c984ae2 100644 --- a/src/profiles/Profile.css +++ b/src/profiles/Profile.css @@ -49,25 +49,27 @@ flex-grow: 1; text-align: right; } - } - .name-grp { - display: flex; - flex-flow: column nowrap; + >.name-grp { + display: flex; + flex-flow: column nowrap; - & * { - user-select: text; - } + & * { + user-select: text; + } - .display-name { - display: block; - } + .display-name { + display: block; + } - .username { - user-select: all; + .username { + user-select: all; + } } } + + .acct-mark { font-size: 1.2em; vertical-align: sub; diff --git a/src/timelines/toots/TootAuthorGroup.css b/src/timelines/toots/TootAuthorGroup.css index bbef056..1d62d16 100644 --- a/src/timelines/toots/TootAuthorGroup.css +++ b/src/timelines/toots/TootAuthorGroup.css @@ -24,7 +24,7 @@ } &:hover { - .tootAuthorNamePrimary { + > .name-primary { text-decoration: underline; } } diff --git a/src/timelines/toots/TootAuthorGroup.tsx b/src/timelines/toots/TootAuthorGroup.tsx index 121b2c5..ae2f3d3 100644 --- a/src/timelines/toots/TootAuthorGroup.tsx +++ b/src/timelines/toots/TootAuthorGroup.tsx @@ -21,7 +21,7 @@ function TootAuthorGroup( return (
-
+