Remove form element rule !important suffix on Windows (#4528)

Fix tab bar button hover effect on Windows
A follow up fix of #4518
This commit is contained in:
windingwind 2024-08-08 15:40:59 +08:00 committed by GitHub
parent 4c32317ba4
commit 01f9222735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,13 +1,12 @@
@mixin windows-form-element-base { @mixin windows-form-element-base {
appearance: none; appearance: none;
padding: 0; padding: 0;
border: 1px solid transparent !important; border: 1px solid transparent;
border-radius: 4px; border-radius: 4px;
background-origin: border-box; background-origin: border-box;
background-clip: padding-box, padding-box, border-box; background-clip: padding-box, padding-box, border-box;
// Overwrite default background color background-color: unset;
background-color: unset !important;
// Simulate linear-gradient border with border-radius using background-image // Simulate linear-gradient border with border-radius using background-image
@include light-dark(--color-form-element-background, var(--color-background70), var(--fill-quinary)); @include light-dark(--color-form-element-background, var(--color-background70), var(--fill-quinary));