mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix settings colliding with userbox?
parent
ca09e0e3f7
commit
6c21afaa57
|
@ -318,6 +318,9 @@ main.content
|
|||
|
||||
max-width: 400px
|
||||
|
||||
.aqua-tooltip
|
||||
z-index: 900
|
||||
|
||||
.no-margin
|
||||
margin: 0
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
.tooltip
|
||||
position: absolute
|
||||
z-index: 1000
|
||||
z-index: 900
|
||||
background: white
|
||||
padding: 10px 16px
|
||||
border-radius: vars.$border-radius
|
||||
|
|
|
@ -160,16 +160,17 @@
|
|||
{d.user.rival ? t("UserHome.RemoveRival") : t("UserHome.AddRival")}
|
||||
</span>
|
||||
{/if}
|
||||
{#if me && me.username === username}
|
||||
<a class="setting-icon clickable" use:tooltip={t("UserHome.Settings")} href="/settings">
|
||||
<Icon icon="eos-icons:rotating-gear"/>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
<nav>
|
||||
{#each d.validGames as [g, name]}
|
||||
<a href={`/u/${username}/${g}`} class:active={game === g}>{name}</a>
|
||||
{/each}
|
||||
|
||||
{#if me && me.username === username}
|
||||
<a class="setting-icon clickable" use:tooltip={t("UserHome.Settings")} href="/settings">
|
||||
<Icon icon="eos-icons:rotating-gear"/>
|
||||
</a>
|
||||
{/if}
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
@ -397,6 +398,9 @@
|
|||
display: flex
|
||||
align-items: center
|
||||
|
||||
position: relative
|
||||
z-index: 20
|
||||
|
||||
.name-box
|
||||
flex: 1
|
||||
display: flex
|
||||
|
|
Loading…
Reference in New Issue