see if this makes it work

This commit is contained in:
Gamosoft 2026-03-11 16:26:16 +01:00
parent df6f3abf89
commit c16b020f22
1 changed files with 11 additions and 6 deletions

View File

@ -626,19 +626,24 @@
background-color: var(--bg-primary);
z-index: 0;
}
/* Invisible scrollbar that takes same space as textarea */
/* Invisible scrollbar that takes EXACT same space as textarea */
.syntax-overlay::-webkit-scrollbar {
width: 12px;
height: 12px;
background: transparent;
}
.syntax-overlay::-webkit-scrollbar-track {
background: var(--bg-tertiary); /* MUST match textarea track */
}
.syntax-overlay::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 6px;
border: 2px solid transparent; /* MUST match textarea's 2px border */
}
/* Firefox */
@supports (scrollbar-color: auto) {
/* Firefox - MUST match textarea's scrollbar-width: thin */
.syntax-overlay {
scrollbar-color: transparent transparent;
}
scrollbar-width: thin;
scrollbar-color: transparent var(--bg-tertiary);
}
/* Zen Mode Styles */