mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 10:33:29 +00:00
Fix guest row style typing
This commit is contained in:
parent
55df0041ec
commit
8b4a81be36
1 changed files with 2 additions and 2 deletions
|
|
@ -335,8 +335,8 @@ export const getGuestColumnStyle = (
|
|||
const style: JSX.CSSProperties = {};
|
||||
|
||||
if (sizing.width) style.width = sizing.width;
|
||||
if (sizing.minWidth) style.minWidth = sizing.minWidth;
|
||||
if (sizing.maxWidth) style.maxWidth = sizing.maxWidth;
|
||||
if (sizing.minWidth) style['min-width'] = sizing.minWidth;
|
||||
if (sizing.maxWidth) style['max-width'] = sizing.maxWidth;
|
||||
|
||||
return Object.keys(style).length > 0 ? style : undefined;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue