Closed smonolo closed 5 months ago
The best way to fix this issue is to couple btn-outline-primary
with btn-white
, just like the "Maggiori informazioni" one at /it/software
. It doesn't have the same behavior, bit at least the text remains always clearly visible and there are no strange transitions.
I'll go ahead and open up a PR that fixes a few of these buttons around. Let me know if this makes sense.
Describe the bug
It looks like that buttons on variant primary outline are styled incorrectly when it comes to hovering. Instead of switching background to the correct blue and text to white, a weird lighter blue is showing up and text remains the same.
Another unexpected behavior occurs when the button is pressed and the cursor moves a bit. The background becomes white again when it's actually supposed to remain blue.
I believe this might be related to the version of Bootstrap Italia in use, but there's a workaround that fixes the problem by keeping the same version.
To Reproduce
/it/riuso/dichiarazione
Expected behavior
According to Boostrap Italia's documentation, the background should become dark blue and the text white, which is not happening.
Screenshots
https://cdn.smnl.it/hJIKFxyTrD.gif