Skip to content

Commit 2c92db0

Browse files
committed
tweak tip styles
1 parent c379831 commit 2c92db0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/.vitepress/theme/custom.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
.vp-doc .plot,
2727
.vp-doc .plot-ramp {
2828
background: none;
29+
overflow: visible;
2930
}
3031

31-
:root.dark [aria-label=tip] {
32+
:root [aria-label="tip"][fill="white"],
33+
:root [aria-label="tip"] [fill="white"] {
3234
fill: var(--vp-c-bg-alt);
3335
}
3436

docs/marks/auto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ Plot.auto(penguins, {
150150
fx: "island",
151151
fy: "species"
152152
}).plot({
153-
x: {label: "Body mass →", ticks: 5},
154-
y: {label: "↑ Culmen length"},
153+
grid: true,
154+
x: {ticks: 5},
155155
marginRight: 70
156156
})
157157
```

0 commit comments

Comments
 (0)