Skip to content

Commit

Permalink
#474 - Hide button text when on mobile and has icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Jun 14, 2024
1 parent e93a2a8 commit a449937
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Money.Blazor.Host/Components/EnumSelector.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
@if (Icon != null)
{
<Icon Identifier="@Icon" Prefix="@IconPrefix" class="me-1" />
<span class="d-none d-md-inline">
@Text
</span>
}
else
{
@Text
}
@Text
<span class="caret"></span>
</button>

Expand Down

0 comments on commit a449937

Please sign in to comment.