Added version to footer. CSS and locale fixes.

This commit is contained in:
Mike Cao 2020-09-09 16:12:29 -07:00
parent cea8e29c8a
commit 6bbe7800c2
16 changed files with 276 additions and 268 deletions

View file

@ -32,6 +32,7 @@ export default function LanguageButton({ menuPosition = 'bottom', menuAlign = 'l
</Button>
{showMenu && (
<Menu
className={styles.menu}
options={menuOptions}
onSelect={handleSelect}
float={menuPosition}

View file

@ -3,3 +3,7 @@
position: relative;
cursor: pointer;
}
.menu {
z-index: 100;
}

View file

@ -46,7 +46,7 @@ export default function UserButton() {
return (
<div ref={ref} className={styles.container}>
<div onClick={() => setShowMenu(state => !state)}>
<div className={styles.button} onClick={() => setShowMenu(state => !state)}>
<Icon icon={<User />} size="large" />
<Icon icon={<Chevron />} size="small" />
</div>

View file

@ -4,6 +4,11 @@
cursor: pointer;
}
.button {
display: flex;
flex-wrap: nowrap;
}
.username {
border-bottom: 1px solid var(--gray500);
}