Skip to content

Commit 6cda2dd

Browse files
authored
Fix hint hover style (#2966)
1 parent c60e9ba commit 6cda2dd

File tree

1 file changed

+3
-3
lines changed
  • packages/gitbook/src/components/DocumentView

1 file changed

+3
-3
lines changed

packages/gitbook/src/components/DocumentView/Hint.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const HINT_STYLES: {
114114
body: [
115115
'text-neutral-strong',
116116
'links-default:[&_a]:text-warning',
117-
'links-default:[&_a]:hover:text-warning-strong',
117+
'links-default:[&_a:hover]:text-warning-strong',
118118
'links-default:[&_a]:decoration-warning/6',
119119
'links-accent:[&_a]:decoration-warning',
120120
'decoration-warning/6',
@@ -131,7 +131,7 @@ const HINT_STYLES: {
131131
body: [
132132
'text-neutral-strong',
133133
'links-default:[&_a]:text-danger',
134-
'links-default:[&_a]:hover:text-danger-strong',
134+
'links-default:[&_a:hover]:text-danger-strong',
135135
'links-default:[&_a]:decoration-danger/6',
136136
'links-accent:[&_a]:decoration-danger',
137137
'decoration-danger/6',
@@ -148,7 +148,7 @@ const HINT_STYLES: {
148148
body: [
149149
'text-neutral-strong',
150150
'links-default:[&_a]:text-success',
151-
'links-default:[&_a]:hover:text-success-strong',
151+
'links-default:[&_a:hover]:text-success-strong',
152152
'links-default:[&_a]:decoration-success/6',
153153
'links-accent:[&_a]:decoration-success',
154154
'decoration-success/6',

0 commit comments

Comments
 (0)