nav bar button container classname changed

This commit is contained in:
NikolaBorislavovHristov 2019-04-25 17:41:57 +03:00
parent 96e59928af
commit 55aa39d70c
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ const NavBarButton = React.memo(({ className, icon, label, href, onClick }) => {
}, [href, locationHash]);
const inputType = typeof onClick === 'function' ? 'button' : 'link';
return (
<Input className={classnames(className, styles['button'], 'focusable-with-border', { 'active': active })} type={inputType} href={href} onClick={onClick}>
<Input className={classnames(className, styles['nav-bar-button-container'], 'focusable-with-border', { 'active': active })} type={inputType} href={href} onClick={onClick}>
<Icon className={styles['icon']} icon={icon} />
<div className={styles['label']}>{label}</div>
</Input>

View file

@ -1,4 +1,4 @@
.button {
.nav-bar-button-container {
display: inline-flex;
flex-direction: row;
align-items: center;