fix scroll hint gradient

This commit is contained in:
Til Schmitter 2026-04-25 18:21:30 +02:00
parent 22ee54dbae
commit 18ccf35fd4

View file

@ -3671,6 +3671,17 @@ html.e #wrap.thin {
.td_s { .td_s {
width: calc(50vw - 5em); width: calc(50vw - 5em);
} }
#ghead::after {
content: "";
position: sticky;
right: -.5em;
background: linear-gradient(to left, var(--bg-u2), transparent);
width: 3em;
height: 3.5em;
display: inline-block;
margin: -1em;
pointer-events: none;
}
} }
@media (max-width: 50em){ @media (max-width: 50em){
html:not(.e) body { html:not(.e) body {
@ -3716,18 +3727,6 @@ html.e #wrap.thin {
#ghead { #ghead {
margin: 0 .5em 1em .5em; margin: 0 .5em 1em .5em;
} }
#ghead::after {
box-shadow: inset -.5em 0 1em var(--bg-u2);
content: "";
position: sticky;
right: -.5em;
background: linear-gradient(to left, var(--bg-u2), transparent);
width: 3em;
height: 3.5em;
display: inline-block;
margin: -1em;
pointer-events: none;
}
.modalsplit { .modalsplit {
display: block; display: block;
overflow-y: auto; overflow-y: auto;