mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Fixed profile button.
This commit is contained in:
parent
6c4a297697
commit
63bfad4d9c
4 changed files with 9 additions and 6 deletions
|
|
@ -99,7 +99,7 @@
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"prisma": "5.7.0",
|
"prisma": "5.7.0",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-basics": "^0.116.0",
|
"react-basics": "^0.117.0",
|
||||||
"react-beautiful-dnd": "^13.1.0",
|
"react-beautiful-dnd": "^13.1.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-error-boundary": "^4.0.4",
|
"react-error-boundary": "^4.0.4",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
.menu {
|
.menu {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
z-index: var(--z-index-popup);
|
z-index: var(--z-index-popup);
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ export function ProfileButton() {
|
||||||
</Icon>
|
</Icon>
|
||||||
</Button>
|
</Button>
|
||||||
<Popup position="bottom" alignment={dir === 'rtl' ? 'start' : 'end'}>
|
<Popup position="bottom" alignment={dir === 'rtl' ? 'start' : 'end'}>
|
||||||
<Menu variant="popup" onSelect={handleSelect} className={styles.menu}>
|
<Menu onSelect={handleSelect} className={styles.menu}>
|
||||||
<Item key="user" className={styles.item}>
|
<Item key="user" className={styles.item}>
|
||||||
<Text>{user.username}</Text>
|
<Text>{user.username}</Text>
|
||||||
</Item>
|
</Item>
|
||||||
|
|
|
||||||
|
|
@ -7570,10 +7570,10 @@ rc@^1.2.7:
|
||||||
minimist "^1.2.0"
|
minimist "^1.2.0"
|
||||||
strip-json-comments "~2.0.1"
|
strip-json-comments "~2.0.1"
|
||||||
|
|
||||||
react-basics@^0.116.0:
|
react-basics@^0.117.0:
|
||||||
version "0.116.0"
|
version "0.117.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-basics/-/react-basics-0.116.0.tgz#497aa40ceec6c6e849a64be738853f9f04502f8f"
|
resolved "https://registry.yarnpkg.com/react-basics/-/react-basics-0.117.0.tgz#f75c78acac678f6c4c8e1fdcc7e2a9f415148f1d"
|
||||||
integrity sha512-Vv9CFbrlJPClQ22EvLIdWDmxzY1yRlEd9D4RLYQejl1CsDwvTCjP0Y3zkOmHiFVP9I2VcwUf9uhDf5GASh17dw==
|
integrity sha512-coGwL84LhNrw9kAN2REvR9i6bVs55ZnnQxlDsnH6hnj75Sp36rigGNClSwVN1XTlUWp6k+Gc4rn78cc1E/qn2g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@react-spring/web" "^9.7.3"
|
"@react-spring/web" "^9.7.3"
|
||||||
classnames "^2.3.1"
|
classnames "^2.3.1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue