From 3d066625591314ddd54f1951b865d58a649e7eff Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 23 Sep 2023 12:56:55 +0800 Subject: [PATCH] Prevent nested 'Read more's --- src/components/status.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/status.css b/src/components/status.css index 8412c7e4..ac580d20 100644 --- a/src/components/status.css +++ b/src/components/status.css @@ -93,7 +93,10 @@ text-decoration: none; color: var(--text-color); } -.status-card-link:not(.status-card-link .status-card-link):has(.truncated) { +.status-card-link:not( + .truncated .status-card-link, /* parent status already truncated */ + .status-card-link .status-card-link /* nested status cards */ + ):has(.truncated) { position: relative; &:after {