Skip to content

Commit

Permalink
🐛 fix: user avatar should be cursor:pointer (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Sep 2, 2024
1 parent b21c38d commit 536996e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
<MMenu @bind-Value="@MenuVisible" OffsetY NudgeTop="-8" CloseOnContentClick="false"
ContentClass="px-4 py-2" MaxWidth="280" MinWidth="280">
<ActivatorContent>
<MAvatar @attributes="@context.Attrs" Size=40>
<MImage Src="@avatar"></MImage>
</MAvatar>
<MButton Icon XLarge Height="40" Width="40" @attributes="@context.Attrs">
<MAvatar Size=40>
<MImage Src="@avatar"></MImage>
</MAvatar>
</MButton>
</ActivatorContent>
<ChildContent>
<MList>
Expand Down
2 changes: 1 addition & 1 deletion src/Masa.Stack.Components/Shared/Layouts/SLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<Breadcrumbs FlattenedNavs="FlattenedAllNavs" @ref="BreadcrumbsComp"></Breadcrumbs>
<MSpacer />
<Languages OnChange="() => { }" />
<MSheet Class="d-flex align-center justify-space-between rounded-6 pa-1 mr-n4" Width="100">
<MSheet Class="d-flex align-center justify-space-around rounded-6 pa-1 mr-n4" Width="100">
<Notification />
<User />
</MSheet>
Expand Down

0 comments on commit 536996e

Please sign in to comment.