moates / onlyBans

1 stars 0 forks source link

font-size scroll bar broken on div resize #67

Closed moates closed 1 year ago

moates commented 1 year ago

When switching up to a larger font, sometimes parts of the Settings box go off the page. The scroll bar is still disabled for the overflow text, preventing player from seeing the rest of the Settings.

Attempted a fix by forcing overflow:scroll for the whole div, but while the scrollbar appears, it is still disabled.

image

moates commented 1 year ago

likely related issue as a hint: when switching from a large font size with scroll bars down to a smaller size, the Dialog box does not resize properly

image

moates commented 1 year ago

the lovely Discord sugarcube community helped me out here. make another call to UI.settings(); to have it resize itself on change . 5be10f3