diff --git a/src/lib/components/navbar/LeftMenu.svelte b/src/lib/components/navbar/LeftMenu.svelte index 2d07c853..a98db07c 100644 --- a/src/lib/components/navbar/LeftMenu.svelte +++ b/src/lib/components/navbar/LeftMenu.svelte @@ -11,6 +11,7 @@ import { layoutState } from '$lib/stores/layout-state.js' import AlphaIcon from '$lib/components/icons/AlphaIcon.svelte' import Logout from '$lib/components/icons/Logout.svelte' import Home from '../icons/Home.svelte' +import Tooltip from "$lib/components/popups/Tooltip.svelte" import { onMount } from 'svelte' let sync @@ -98,22 +99,30 @@ $: if ($webRTC.call.length || $swarm.voice_channel.some(a => a.address === $user on:change={() => selectAvatar()} style="width: 0; height: 0;" /> -
- {#if !$user.customAvatar} - - {:else} - - {/if} -
-
- -
-
- -
-
- -
+ +
+ {#if !$user.customAvatar} + + {:else} + + {/if} +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
@@ -121,19 +130,25 @@ $: if ($webRTC.call.length || $swarm.voice_channel.some(a => a.address === $user
diff --git a/src/lib/components/popups/Tooltip.svelte b/src/lib/components/popups/Tooltip.svelte new file mode 100644 index 00000000..dd35b7f6 --- /dev/null +++ b/src/lib/components/popups/Tooltip.svelte @@ -0,0 +1,41 @@ + + +
+ +
+ + {#if isHovered} +
{title}
+ {/if} + + + \ No newline at end of file