[frontend/components] Revert: "Fix note z-indexes"
This reverts commit b9b19b44af
.
This commit is contained in:
parent
cd0149cfeb
commit
b950cb716f
3 changed files with 45 additions and 54 deletions
|
@ -45,7 +45,7 @@
|
|||
}
|
||||
|
||||
.truncate-btn {
|
||||
z-index: 1;
|
||||
z-index: 5;
|
||||
width: 100%;
|
||||
margin-top: 0.5em;
|
||||
background-color: var(--background-color);
|
||||
|
|
|
@ -86,7 +86,6 @@
|
|||
</button>
|
||||
<button @ref="MenuButton" class="btn" @onclick="ToggleMenu" @onclick:stopPropagation="true" aria-label="more">
|
||||
<Icon Name="Icons.DotsThreeOutline" Size="1.3em"/>
|
||||
</button>
|
||||
<Menu @ref="ContextMenu">
|
||||
@if (Note.User.Id != Session.Current?.Id)
|
||||
{
|
||||
|
@ -134,6 +133,7 @@
|
|||
}
|
||||
<ClosingBackdrop OnClose="ContextMenu.Close"></ClosingBackdrop>
|
||||
</Menu>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
|
|
@ -10,19 +10,11 @@
|
|||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
::deep {
|
||||
.reactions .reaction {
|
||||
position: relative;
|
||||
z-index: +1;
|
||||
}
|
||||
}
|
||||
|
||||
.indent {
|
||||
padding-left: 0.75em;
|
||||
}
|
||||
|
||||
.btn {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 2.5em;
|
||||
|
@ -31,7 +23,6 @@
|
|||
background-color: var(--foreground-color);
|
||||
border: 0.1rem solid var(--foreground-color);
|
||||
width: fit-content;
|
||||
z-index: +1;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
|
|
Loading…
Add table
Reference in a new issue