web: lower .card priority (#46274)

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
This commit is contained in:
Valery Bugakov 2023-01-10 22:45:10 +08:00 committed by GitHub
parent 10a4e190e3
commit 0f69db9954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,6 @@
.card {
// :where() is used to fix the CSS ordering issue with the Toast component
// See https: //github.com/sourcegraph/sourcegraph/issues/42217
:where(.card) {
--card-bg: var(--color-bg-1);
--card-border-color: var(--border-color-2);
--card-border-radius: var(--border-radius);
@ -16,7 +18,7 @@
border-width: 1px;
border-style: solid;
border-color: var(--card-border-color);
border-radius: var(--card-border-radius);
border-radius: var(--card-border-radius) !important;
}
button.card {