Monviech / os-caddy-plugin

Caddy Plugin with GUI for OPNsense
Other
38 stars 0 forks source link

Incorrect rendering if used with dark theme #85

Closed xcslabs closed 6 months ago

xcslabs commented 6 months ago

It seems that there is a glitch when used with dark theme (tested with cicada and vicuna):

Screenshot_20240207_203347

Monviech commented 6 months ago

I guess it's because I hard coded the color of the div that encloses these elements. I can look at it.

https://github.com/Monviech/os-caddy-plugin/blob/32c52bd449ca392cc43cc3418cda12a2829f6d52/usr/plugins/devel/caddy/src/opnsense/mvc/app/views/Pischem/Caddy/general.volt#L54

Here I put "background color white", also put it in other parts because I don't use any dark mode. I gonna clean this up.

Monviech commented 6 months ago

Fixed in latest version. Thanks for the feedback ^^