fix: Moved to using gap css instead of hacking

Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
2023-01-30 15:33:33 +01:00
parent caa646b6d2
commit 2d8076e774
3 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@ interface Props {
nowrap?: boolean
nogrow?: boolean
className?: string
nogap?: boolean
onClick?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>) => void
}
@ -27,6 +28,7 @@ export default class Row extends React.Component<Props> {
[css[`align-${this.props.align}`], this.props.align],
[css.nowrap, this.props.nowrap],
[css.nogrow, this.props.nogrow],
[css.nogap, this.props.nogap],
this.props.className
)}
onClick={this.props.onClick}