Skip to content

Commit 964e412

Browse files
author
sky.sun
committed
feat: 优化Tooltip
1 parent e0a4adf commit 964e412

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/.vitepress/components/SimpleTooltip.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ const tooltipStyle = computed(() => {
220220
.tooltip-content {
221221
background: rgba(0, 0, 0, 0.8);
222222
color: white;
223-
padding: 8px 12px;
224-
border-radius: 6px;
225-
font-size: 13px;
226-
line-height: 1.4;
223+
padding: 6px 8px;
224+
border-radius: 4px;
225+
font-size: 12px;
226+
line-height: 1.2;
227227
white-space: nowrap;
228228
z-index: 9999;
229229
pointer-events: none;

0 commit comments

Comments
 (0)