From 1aca0584af2ca8a8534f3f2bcea91f91ed662464 Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Wed, 11 Oct 2023 16:43:15 +1100 Subject: [PATCH] improve ledgibility of whatsnewText --- src/inject/injected.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/inject/injected.css b/src/inject/injected.css index 0ae9056c..b2009aa7 100644 --- a/src/inject/injected.css +++ b/src/inject/injected.css @@ -2785,13 +2785,13 @@ body { width: 96%; display: flex; margin: 0 auto; - border-radius: 10px; } .whatsnewImg { margin: 0.5rem auto; width: 90%; border-radius: 1rem; + box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); } .whatsnewTextContainer { @@ -2838,6 +2838,7 @@ body { display: flex; justify-content: space-between; align-items: center; + z-index: 2; } .whatsnewFooter a { @@ -2865,4 +2866,13 @@ body { font-size: 24px; font-family: "IconFamily"; pointer-events: none; +} + +.whatsnewTextContainer h1:not(.whatsnewTextHeader) { + position: sticky; + width: 100%; + top: 0; + background: var(--background-primary) !important; + z-index: 1; + padding: 10px; } \ No newline at end of file