1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

Merge pull request #125 from muerwre/feature/122_new_profile_tooltip

Feature/122 new profile tooltip
This commit is contained in:
muerwre 2022-07-21 11:29:41 +07:00 committed by GitHub
commit 25bc810306
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View file

@ -42,7 +42,13 @@ const MenuButton: FC<MenuButtonProps> = ({
{
name: 'offset',
options: {
offset: [-10, 10],
offset: [0, 10],
},
},
{
name: 'preventOverflow',
options: {
padding: 10,
},
},
],

View file

@ -21,10 +21,6 @@ const ProfileQuickInfo: FC<ProfileQuickInfoProps> = ({ user }) => {
return (
<Group className={styles.wrapper}>
<Group className={styles.top} horizontal>
<div>
<Avatar url={path(['photo', 'url'], user)} username={user.username} />
</div>
<Filler className={styles.names}>
<h5 className={styles.fullname}>{user.fullname || user.username}</h5>
<div className={styles.username}>~{user.username}</div>

File diff suppressed because one or more lines are too long