mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: stroke-width
This commit is contained in:
1 parent
0e6b79dcbe
commit
e364d1fda2
5 files changed
+7
-7
No files matched your search
@@ -57,7 +57,7 @@ export function Line({
|
||||
vector-effect="non-scaling-stroke"
|
||||
fill="none"
|
||||
stroke={LINE_COLORS[color]}
|
||||
stroke-width={lineWidth}
|
||||
strokeWidth={lineWidth}
|
||||
stroke-dasharray={LINE_STYLES[style]}
|
||||
points={points}
|
||||
/>
|
||||
|
||||
@@ -72,7 +72,7 @@ export function Root({
|
||||
vector-effect="non-scaling-stroke"
|
||||
fill="none"
|
||||
stroke={theme.colors.borderNonInteractive}
|
||||
stroke-width="2"
|
||||
strokeWidth="2"
|
||||
points={`0,${y}, ${GRAPH_WIDTH},${y}`}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user