Skip to content

Commit fea6505

Browse files
committed
scope a.button to .promo, to remove an !important
(a.button is not used anywhere else; introduced in #1757)
1 parent c43d1ca commit fea6505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/.vitepress/theme/ObservablePromo.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ h1 {
6262
opacity: 0.7;
6363
}
6464
65-
a.button {
65+
.promo a.button {
6666
display: inline-block;
6767
border: 1px solid transparent;
6868
text-align: center;
6969
text-decoration: none;
7070
font-weight: 600;
7171
white-space: nowrap;
7272
background-color: var(--vp-c-neutral);
73-
color: var(--vp-c-neutral-inverse) !important;
73+
color: var(--vp-c-neutral-inverse);
7474
border-radius: 20px;
7575
padding: 0 20px;
7676
line-height: 38px;

0 commit comments

Comments
 (0)