mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-20 07:30:19 +01:00
Better scrollbar for Image AI > Gallery
This commit is contained in:
parent
b70011aeea
commit
c3bd1c901d
|
|
@ -1105,3 +1105,11 @@ document.fonts.addEventListener("loadingdone", (event) => {
|
|||
// Initial call to set the margin based on current state
|
||||
updateMargin();
|
||||
})();
|
||||
|
||||
//------------------------------------------------
|
||||
// Better scrollbar for Image AI > Gallery
|
||||
//------------------------------------------------
|
||||
const element = document.querySelector('#image-history-gallery > :nth-child(2)');
|
||||
if (element) {
|
||||
element.classList.add('pretty_scrollbar');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue