Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 8833aff

Browse files
committed
chore: simplify vis-tooltip style
1 parent 56c88d8 commit 8833aff

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/client/styles/main.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,7 @@ html.dark {
5151

5252
/** vis-network */
5353
.vis-tooltip {
54-
--at-apply: text-black dark:text-white bg-white dark:bg-black;
55-
position: absolute;
56-
border-width: 1px;
57-
border-color: rgba(156,163,175,0.2);
58-
border-radius: 4px;
59-
box-shadow: 0 6px 30px #0000001a;
60-
padding: 4px 8px;
54+
--at-apply: n-card-base px-2 py-1 absolute;
6155
}
6256

6357
/* Markdown */

0 commit comments

Comments
 (0)