mirror of
https://github.com/bspeice/speice.io
synced 2025-07-01 05:46:13 -04:00
Fix list keys, div height units
This commit is contained in:
@ -55,7 +55,7 @@ export const PaletteBar: React.FC<PaletteBarProps> = ({ height, palette, childre
|
||||
|
||||
return (
|
||||
<>
|
||||
<div ref={sizingRef} style={{ width: "100%", height }}>
|
||||
<div ref={sizingRef} style={{ width: "100%", height: `${height}px` }}>
|
||||
{width > 0 ? <canvas ref={canvasRef} width={width} height={height} style={canvasStyle} /> : null}
|
||||
</div>
|
||||
{children}
|
||||
|
Reference in New Issue
Block a user