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
|
max-width: 400px
|
||||||
|
|
||||||
|
.aqua-tooltip
|
||||||
|
z-index: 900
|
||||||
|
|
||||||
.no-margin
|
.no-margin
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
.tooltip
|
.tooltip
|
||||||
position: absolute
|
position: absolute
|
||||||
z-index: 1000
|
z-index: 900
|
||||||
background: white
|
background: white
|
||||||
padding: 10px 16px
|
padding: 10px 16px
|
||||||
border-radius: vars.$border-radius
|
border-radius: vars.$border-radius
|
||||||
|
|
|
@ -160,16 +160,17 @@
|
||||||
{d.user.rival ? t("UserHome.RemoveRival") : t("UserHome.AddRival")}
|
{d.user.rival ? t("UserHome.RemoveRival") : t("UserHome.AddRival")}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/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>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
{#each d.validGames as [g, name]}
|
{#each d.validGames as [g, name]}
|
||||||
<a href={`/u/${username}/${g}`} class:active={game === g}>{name}</a>
|
<a href={`/u/${username}/${g}`} class:active={game === g}>{name}</a>
|
||||||
{/each}
|
{/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>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -397,6 +398,9 @@
|
||||||
display: flex
|
display: flex
|
||||||
align-items: center
|
align-items: center
|
||||||
|
|
||||||
|
position: relative
|
||||||
|
z-index: 20
|
||||||
|
|
||||||
.name-box
|
.name-box
|
||||||
flex: 1
|
flex: 1
|
||||||
display: flex
|
display: flex
|
||||||
|
|
Loading…
Reference in New Issue