mirror of
				https://github.com/bspeice/speice.io
				synced 2025-11-03 18:10:32 -05: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