webmin / authentic-theme

Official theme for the best server management panel of the 21st Century
https://authentic-theme.com
MIT License
947 stars 163 forks source link

Stylesheet overrides "size" setting for &theme_ui_select when it is multiselect #1654

Closed klugerama closed 1 year ago

klugerama commented 1 year ago

The generated select objects do have the size property, but the stylesheet is enforcing both a min-height (of "120") and a max-height (of "28").

Supplying a class or style as a parameter in the call to &ui_select doesn't do anything either, presumably because both of those attributes are overridden after rendering. Mitigating this problem therefore requires adding additional $(document).ready() JS code.

Notice also that the value of min-height is greater than that for max-height, meaning that both values must be overridden to predictably get the desired result.

iliajie commented 1 year ago

Hello,

It sounds like one of the old bugs. I will have a look and update this ticket with progress.

Thanks!

iliajie commented 1 year ago

Alright, it was just fixed on the latest commit.