Fixed Plus/Minus Sign being missplaced

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2021-12-02 01:01:17 +01:00
parent 30d507c227
commit 496bafa0e4
Signed by: Florian Bouillon
GPG Key ID: 50BD648F12C86AB6

View File

@ -138,13 +138,13 @@ export default class Navbar extends React.Component<Props, State> {
[css.fullWidth, this.props.fullWidth] [css.fullWidth, this.props.fullWidth]
)}> )}>
<Row nowrap justify="space-between" className={css.header} align="center"> <Row nowrap justify="space-between" className={css.header} align="center">
{this.props.logo && ( <Col>
<Col> {this.props.logo && (
<Link href="/"> <Link href="/">
<Image imageProps={{ ...this.props.logo, height: 34, width: this.props.logo.width * 34 / this.props.logo.height }} /> <Image imageProps={{ ...this.props.logo, height: 34, width: this.props.logo.width * 34 / this.props.logo.height }} />
</Link> </Link>
</Col> )}
)} </Col>
<Col nogrow><Text tag="div"> <Col nogrow><Text tag="div">
<Plus size={24} onClick={this.onCloseOpenClick} /> <Plus size={24} onClick={this.onCloseOpenClick} />
</Text></Col> </Text></Col>