LanguageSwitcher to use the ButtonClass parameter

This change allows the buttons to be uniform.
This commit is contained in:
Leigh Pointer
2024-04-25 12:33:52 +02:00
parent 78d68d0a4f
commit ef843cac63
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@
@if (ShowLanguageSwitcher)
{
<LanguageSwitcher DropdownAlignment="@LanguageDropdownAlignment" />
<LanguageSwitcher ButtonClass="@ButtonClass" DropdownAlignment="@LanguageDropdownAlignment" />
}
@if (_showEditMode || (PageState.Page.IsPersonalizable && PageState.User != null && UserSecurity.IsAuthorized(PageState.User, RoleNames.Registered)))