Fix news overflow

Fixed the news notice overflowing and basically being unreadable, I took way too long to fix this, but it wasn't too big a deal so w/eeee
This commit is contained in:
mandorinn 2024-07-17 00:09:11 -05:00 committed by GitHub
parent 85bfa7df44
commit aaaf66ccae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
/* ==UserStyle== /* ==UserStyle==
@name eSix Café @name eSix Café
@namespace mandorinn @namespace mandorinn
@version 2.0.2 @version 2.0.3
@description A muted and easy on the eyes style for e621. Big credits to Faucet for the bug reports so far, thank you! @description A muted and easy on the eyes style for e621. Big credits to Faucet for the bug reports so far, thank you!
@author mandorinn [(www.mandorinn.dev)], faucet [(https://e621.net/users/601225)] @author mandorinn [(www.mandorinn.dev)], faucet [(https://e621.net/users/601225)]
@updateURL https://github.com/mandorinn/eSix-Cafe/raw/main/release/eSixCafe.user.css @updateURL https://github.com/mandorinn/eSix-Cafe/raw/main/release/eSixCafe.user.css
@ -1997,6 +1997,9 @@ if themep == classic {
margin-inline: auto; margin-inline: auto;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
div#page div.site-notice:not(open) {
overflow:hidden;
}
div#notice { div#notice {
background-color: var(--bg)!important; background-color: var(--bg)!important;
height: 2rem; height: 2rem;
@ -2030,6 +2033,7 @@ if themep == classic {
justify-content: center; justify-content: center;
width: 0; width: 0;
margin-top: 0px; margin-top: 0px;
margin-right:.5rem;
font-size: 0; font-size: 0;
} }
div#news .closebutton::before { div#news .closebutton::before {