mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-19 15:31:04 +02:00
Fix padding in the library loading buttons (#2331)
* Fix padding in the library loading buttons * Update src/components/Stack.tsx Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com> * extend CSSProperties TS definition Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ export const Island = React.forwardRef<HTMLDivElement, IslandProps>(
|
||||
({ children, padding, className, style }, ref) => (
|
||||
<div
|
||||
className={clsx("Island", className)}
|
||||
style={{ "--padding": padding, ...style } as React.CSSProperties}
|
||||
style={{ "--padding": padding, ...style }}
|
||||
ref={ref}
|
||||
>
|
||||
{children}
|
||||
|
Reference in New Issue
Block a user