Skip to content

Commit

Permalink
fix: chat wide phone bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystianKempski committed Nov 26, 2024
1 parent 28e5ecb commit 1729dda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion DagoniteEmpire/Shared/Chat.Razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
z-index: 1000;
}

@media (max-width: 400px) {
@media (max-width: 640px) {
.chatboxes {
display: none;
}
Expand Down
4 changes: 0 additions & 4 deletions DagoniteEmpire/Shared/Chat.razor
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@


<MudHidden Breakpoint="Breakpoint.MdAndDown" Invert="true">
@* <div class="chat-show">
<MudIconButton Class="m-1 p-2" Icon="@Icons.Material.Filled.Chat" Color="Color.Dark" Style="background-color:white;" OnClick="@ToggleEndDrawer" />
</div> *@

<MudDrawer @bind-Open="@OpenEnd" Fixed="true" Anchor="Anchor.End" Elevation="1" Variant="@DrawerVariant.Temporary" ClipMode="DrawerClipMode.Always" Style="overflow:hidden; text-wrap: nowrap">
<MudDrawerHeader Style="overflow:hidden; text-wrap: nowrap" Class="p-1">
<MudText Typo="Typo.body2" Class="px-1" Style="font-size: 24px; "><MudIconButton OnClick="@ToggleEndDrawer" Color="Color.Dark" Icon="@Icons.Material.Filled.Chat"></MudIconButton> Chat </MudText>
Expand Down

0 comments on commit 1729dda

Please sign in to comment.