Skip to content

Commit

Permalink
little fav icon style
Browse files Browse the repository at this point in the history
  • Loading branch information
NicklausBrain committed Dec 1, 2024
1 parent fa36237 commit a401ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions My1kWordsEe/Components/Layout/SampleV2.razor
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@
<li class="list-group-item border-0">
@if (IsFavorite && RemoveFromFavorites != null)
{
<Button Color="ButtonColor.Primary" Size="ButtonSize.Small" @onclick="() => RemoveFromFavorites(Sample)">
<Button Color="ButtonColor.Primary" Outline="true" Size="ButtonSize.Small" @onclick="() => RemoveFromFavorites(Sample)">
<i role="button" class="bi bi-star-fill"></i>
</Button>
}
else if (AddToFavorites != null)
{
<Button Color="ButtonColor.Primary" Size="ButtonSize.Small" @onclick="() => AddToFavorites(Sample)">
<Button Color="ButtonColor.Primary" Outline="true" Size="ButtonSize.Small" @onclick="() => AddToFavorites(Sample)">
<i role="button" class="bi bi-star"></i>
</Button>
}
Expand Down
2 changes: 1 addition & 1 deletion My1kWordsEe/wwwroot/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ h1:focus {
}

.favorite-active {
color: rebeccapurple
color: #131E5E;
}

0 comments on commit a401ef6

Please sign in to comment.