mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Add tooltip to user avatar (#2080)
Co-authored-by: Philip Molares <philip.molares@udo.edu Co-authored-by: Erik Michelson <github@erik.michelson.eu> Signed-off-by: Philip Molares <philip.molares@udo.edu Signed-off-by: Erik Michelson <github@erik.michelson.eu> Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
c868b3649d
commit
f0ea971baa
4 changed files with 33 additions and 10 deletions
|
@ -10,7 +10,7 @@ exports[`UserAvatar adds additionalClasses props to wrapping span 1`] = `
|
|||
class="rounded user-image"
|
||||
height="20"
|
||||
src="https://example.com/test.png"
|
||||
title="Boaty McBoatFace"
|
||||
title="common.avatarOf"
|
||||
width="20"
|
||||
/>
|
||||
<span
|
||||
|
@ -32,7 +32,7 @@ exports[`UserAvatar does not show names if showName prop is false 1`] = `
|
|||
class="rounded user-image"
|
||||
height="20"
|
||||
src="https://example.com/test.png"
|
||||
title="Boaty McBoatFace"
|
||||
title="common.avatarOf"
|
||||
width="20"
|
||||
/>
|
||||
</span>
|
||||
|
@ -49,7 +49,7 @@ exports[`UserAvatar renders the user avatar correctly 1`] = `
|
|||
class="rounded user-image"
|
||||
height="20"
|
||||
src="https://example.com/test.png"
|
||||
title="Boaty McBoatFace"
|
||||
title="common.avatarOf"
|
||||
width="20"
|
||||
/>
|
||||
<span
|
||||
|
@ -71,7 +71,7 @@ exports[`UserAvatar renders the user avatar in size lg 1`] = `
|
|||
class="rounded user-image"
|
||||
height="30"
|
||||
src="https://example.com/test.png"
|
||||
title="Boaty McBoatFace"
|
||||
title="common.avatarOf"
|
||||
width="30"
|
||||
/>
|
||||
<span
|
||||
|
@ -93,7 +93,7 @@ exports[`UserAvatar renders the user avatar in size sm 1`] = `
|
|||
class="rounded user-image"
|
||||
height="16"
|
||||
src="https://example.com/test.png"
|
||||
title="Boaty McBoatFace"
|
||||
title="common.avatarOf"
|
||||
width="16"
|
||||
/>
|
||||
<span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue