Closed marsderp closed 7 years ago
Is this only the moonlight theme or all of them?
It's on every theme.
Can I have the version number of chrome and firedfox your using? Does this happen on only this switch box or all of them?
Currently Firefox 50, Chrome 55.
All the switches have the same issue unfortunately. Here's on twilight theme:
After a little investigation, it seems like the width of bootstrap-switch-container
set at 109px is causing my issue. Increasing it by 1px fixes it, alternatively bootstrap-switch-label
's width decreased by 1px fixes it too.
What screen resolution do you use?
1920x1080
Ah, can you send a pr?
Thing is I'm not sure where's the script that's setting this width.
default.js
only has $("[type='checkbox']").bootstrapSwitch();
I believe I have found the real cause of this issue.
The border-left
and border-right
rules in .bootstrap-switch .bootstrap-switch-label
in xl.bootstrap.min.css
within all the theme files is set to 1px while the default bootstrap-switch's style does not. Removing the borders should not affect the visuals.
How should we go about this?
Hi this happens to me at 4k when using Windows scaling are you using Windows scaling by any chance?
@raysguy Dunno if you still using htpc manager, but we are still using your themes! Any chance you can take a look on this issue?
On Firefox and Chrome, cache-refreshed. I've had this problem since forever.