fix floating prompt scrolling

This commit is contained in:
RossAscends 2023-07-21 16:05:05 +09:00
parent e2c7f770e4
commit 932da47476
2 changed files with 5 additions and 1 deletions

View File

@ -3464,7 +3464,7 @@
<div id="floatingPromptheader" class="fa-solid fa-grip drag-grabber"></div>
<div id="ANClose" class="fa-solid fa-circle-xmark"></div>
</div>
<div name="floatingPromptHolder">
<div name="floatingPromptHolder" class="scrollY">
<div class="inline-drawer">
<div id="ANBlockToggle" class="inline-drawer-toggle inline-drawer-header">
<b>Author's Note</b>

View File

@ -104,6 +104,10 @@ body {
scrollbar-gutter: stable;
}
.scrollY {
overflow-y: auto;
}
::-webkit-scrollbar-thumb {
background-color: var(--grey7070a);
box-shadow: inset 0 0 0 1px var(--black50a);