Better scrollbar for Image AI > Gallery

This commit is contained in:
oobabooga 2025-12-02 05:51:30 -08:00
parent b70011aeea
commit c3bd1c901d

View file

@ -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');
}