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:
commit
25bc810306
3 changed files with 8 additions and 6 deletions
|
@ -42,7 +42,13 @@ const MenuButton: FC<MenuButtonProps> = ({
|
|||
{
|
||||
name: 'offset',
|
||||
options: {
|
||||
offset: [-10, 10],
|
||||
offset: [0, 10],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
padding: 10,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue