nostalgic-css / NES.css

NES-style CSS Framework | ファミコン風CSSフレームワーク
https://nostalgic-css.github.io/NES.css/
MIT License
20.47k stars 1.64k forks source link

fix(button): disable hover of disabled button #451

Closed zhuzilin closed 3 years ago

zhuzilin commented 3 years ago

Description

This PR overwrote the box-shadow of .nes-btn.is-disabled:hover::after so that the disabled button won't change upon hover.

Before this pr, the disabled button behaved like:

2021-03-02 23 16 53

After, it behaves like:

2021-03-02 23 17 29

Thank you for your time on reviewing this PR :).

Compatibility

This should not break anything.

Caveats

None.

zhuzilin commented 3 years ago

The new commit fixed the lint error of the commit message.