Skip to content

Commit

Permalink
#448 - Truncating button defined as Title component attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Aug 5, 2024
1 parent dc75abf commit 527961a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Money.Blazor.Host/Components/Title.razor
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@
<button type="button" class="btn btn-primary" @onclick="@(() => ButtonClick?.Invoke())">
@if (!String.IsNullOrEmpty(ButtonIcon))
{
<Icon Identifier="@ButtonIcon" class="me-1" />
<Icon Identifier="@ButtonIcon" />
}

@ButtonText
<span class="ms-1 d-none d-md-inline">
@ButtonText
</span>
</button>
}

Expand Down

0 comments on commit 527961a

Please sign in to comment.