style: Navigation tooltip improvements and Firefox fix
- Refactor PrimaryNavItem and SecondaryNavItem to use 'cx' utility. - Add tooltip support to SecondaryNavItem and SpaceMenu room items. - Remove hardcoded tooltip colors from app.css. - Fix Firefox PrimaryNav tooltip visibility by increasing z-index and adding isolation: isolate.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
{#each PLATFORM_RELAYS as url (url)}
|
||||
<PrimaryNavItemSpace {url} />
|
||||
{:else}
|
||||
<PrimaryNavItem title="Home" href="/home" class="tooltip-right">
|
||||
<PrimaryNavItem title="Home" href="/home">
|
||||
<ImageIcon alt="Home" src={PLATFORM_LOGO} class="rounded-full" size={10} />
|
||||
</PrimaryNavItem>
|
||||
<Divider />
|
||||
@@ -33,7 +33,6 @@
|
||||
<PrimaryNavItem
|
||||
href="/spaces"
|
||||
title="All Spaces"
|
||||
class="tooltip-right"
|
||||
prefix="no-highlight"
|
||||
notification={otherSpaceNotifications}>
|
||||
<ImageIcon alt="All Spaces" src={Widget} size={8} />
|
||||
|
||||
Reference in New Issue
Block a user