[frontend/pages] Improve more button styling
This commit is contained in:
parent
c21d6e629e
commit
c16c0e761f
2 changed files with 19 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<FollowButton User="UserResponse" UserProfile="Profile"/>
|
||||
<button @ref="MenuButton" class="btn" @onclick="ToggleMenu" @onclick:stopPropagation="true" aria-label="more">
|
||||
<button @ref="MenuButton" class="context-button" @onclick="ToggleMenu" @onclick:stopPropagation="true" aria-label="more">
|
||||
<Icon Name="Icons.DotsThreeOutline" Size="1.3em"/>
|
||||
<Menu @ref="ContextMenu">
|
||||
@if (UserResponse.Id == Session.Current?.Id)
|
||||
|
|
|
@ -37,6 +37,24 @@
|
|||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.context-button {
|
||||
margin-left: auto;
|
||||
padding: 0.75em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
::deep {
|
||||
.context-button {
|
||||
.ph {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.follow-button + .context-button {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.profile-card {
|
||||
margin: auto;
|
||||
margin-top: 1rem;
|
||||
|
|
Loading…
Add table
Reference in a new issue