From a449937bb9b490c2c009dc8db3e11b403309d5a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fi=C5=A1era?= Date: Fri, 14 Jun 2024 10:49:44 +0200 Subject: [PATCH] #474 - Hide button text when on mobile and has icon. --- src/Money.Blazor.Host/Components/EnumSelector.razor | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Money.Blazor.Host/Components/EnumSelector.razor b/src/Money.Blazor.Host/Components/EnumSelector.razor index 288510ab..113ce194 100644 --- a/src/Money.Blazor.Host/Components/EnumSelector.razor +++ b/src/Money.Blazor.Host/Components/EnumSelector.razor @@ -5,8 +5,14 @@ @if (Icon != null) { + + @Text + + } + else + { + @Text } - @Text