From 00813d6a2206db863fc8e49c36c10b9b40e4e816 Mon Sep 17 00:00:00 2001 From: teddit Date: Tue, 19 Jan 2021 17:36:31 +0100 Subject: [PATCH] fix expand-selftext button css --- static/css/styles.css | 5 +++++ views/subreddit.pug | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index cf68088..59021dd 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -443,6 +443,10 @@ footer a { #links.search .link .meta a.comments { margin-left: 0px; } +#links .link .entry .meta .links .selftext a { + color: var(--linkcolor); + font-weight: initial; +} #links .link .entry .selftext { unicode-bidi: isolate; background-color: #fafafa; @@ -457,6 +461,7 @@ footer a { width: calc(100% - 100px); margin-right: 11000px; overflow: hidden; + cursor: initial; } #links .link .entry details { margin: 0px 10px 0px 0px; diff --git a/views/subreddit.pug b/views/subreddit.pug index 11a7c47..fded0b2 100644 --- a/views/subreddit.pug +++ b/views/subreddit.pug @@ -128,14 +128,14 @@ html .links if link.over_18 span.tag.nsfw NSFW - if link.selftext_html - details - summary - .line - .line - .line - .selftext - != unescape(link.selftext_html) + if link.selftext_html + details + summary + .line + .line + .line + .selftext + != unescape(link.selftext_html) a(href="" + link.permalink + "", class="comments") | #{link.num_comments} comments if json.info.before || json.info.after