Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit720a710

Browse files
committed
fix: tooltip shadow when closed
1 parent5a7a7bf commit720a710

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎components/tooltip.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const styles = sva({
1616
backgroundColor:"var(--arrow-background)",
1717
"--drop-shadow":
1818
"0 0 0 1px rgb(255 255 255/20%),0 2px 4px 2px rgb(0 0 0/20%),0 2px 6px 2px rgb(0 0 0/10%)",
19-
boxShadow:"var(--drop-shadow)",
19+
"&:has([data-state=open])":{
20+
boxShadow:"var(--drop-shadow)",
21+
},
2022
borderRadius:"2px",
2123
userSelect:"text",
2224
fontSize:"12px",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp