see if this makes it work
This commit is contained in:
parent
df6f3abf89
commit
c16b020f22
|
|
@ -626,19 +626,24 @@
|
||||||
background-color: var(--bg-primary);
|
background-color: var(--bg-primary);
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
/* Invisible scrollbar that takes same space as textarea */
|
/* Invisible scrollbar that takes EXACT same space as textarea */
|
||||||
.syntax-overlay::-webkit-scrollbar {
|
.syntax-overlay::-webkit-scrollbar {
|
||||||
width: 12px;
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
.syntax-overlay::-webkit-scrollbar-track {
|
||||||
|
background: var(--bg-tertiary); /* MUST match textarea track */
|
||||||
|
}
|
||||||
.syntax-overlay::-webkit-scrollbar-thumb {
|
.syntax-overlay::-webkit-scrollbar-thumb {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: 2px solid transparent; /* MUST match textarea's 2px border */
|
||||||
}
|
}
|
||||||
/* Firefox */
|
/* Firefox - MUST match textarea's scrollbar-width: thin */
|
||||||
@supports (scrollbar-color: auto) {
|
.syntax-overlay {
|
||||||
.syntax-overlay {
|
scrollbar-width: thin;
|
||||||
scrollbar-color: transparent transparent;
|
scrollbar-color: transparent var(--bg-tertiary);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Zen Mode Styles */
|
/* Zen Mode Styles */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue