fix: #72 fixed that the height of the PrivateEntityCard.razor changes when don't having all dropdown menues #74

Merged
Penry merged 1 commits from #72 into main 2026-06-12 20:48:42 +02:00
Showing only changes of commit ac7b0844f4 - Show all commits
@@ -40,8 +40,8 @@
</MudSelect> </MudSelect>
<!--</editor-fold>--> <!--</editor-fold>-->
@if (PrivateEntity.GlobalEntity.MediaType.Name == "Series" || PrivateEntity.GlobalEntity.MediaType.Name == "Anime") <!-- @if (PrivateEntity.GlobalEntity.MediaType.Name == "Series" || PrivateEntity.GlobalEntity.MediaType.Name == "Anime") -->
{ <!--{-->
<!--<editor-fold desc="Dropdown-Season">--> <!--<editor-fold desc="Dropdown-Season">-->
<MudSelect <MudSelect
T="int?" T="int?"
@@ -49,7 +49,8 @@
ValueChanged="@(newSeason => OnSeasonChange.InvokeAsync(newSeason))" ValueChanged="@(newSeason => OnSeasonChange.InvokeAsync(newSeason))"
Dense="true" Dense="true"
Variant="Variant.Outlined" Variant="Variant.Outlined"
Label=""> Label=""
Class="@(PrivateEntity.GlobalEntity.MediaType.Name == "Series" ? "" : "invisible")">
@{ @{
int? currentSeason = PrivateEntity.Season ?? 1; int? currentSeason = PrivateEntity.Season ?? 1;
int? startOffsetSeason = currentSeason > 1 ? -1 : 0; int? startOffsetSeason = currentSeason > 1 ? -1 : 0;
@@ -69,7 +70,8 @@
ValueChanged="@(newEpisode => OnEpisodeChange.InvokeAsync(newEpisode))" ValueChanged="@(newEpisode => OnEpisodeChange.InvokeAsync(newEpisode))"
Dense="true" Dense="true"
Variant="Variant.Outlined" Variant="Variant.Outlined"
Label=""> Label=""
Class="@(PrivateEntity.GlobalEntity.MediaType.Name == "Series" ? "" : "invisible")">
@{ @{
int? currentEpisode = PrivateEntity.Episode ?? 1; int? currentEpisode = PrivateEntity.Episode ?? 1;
int? startOffsetEpisode = currentEpisode > 1 ? -1 : 0; int? startOffsetEpisode = currentEpisode > 1 ? -1 : 0;
@@ -81,7 +83,7 @@
} }
</MudSelect> </MudSelect>
<!--</editor-fold>--> <!--</editor-fold>-->
} <!--}-->
<!--<editor-fold desc="Details Button">--> <!--<editor-fold desc="Details Button">-->
<MudStack Row="true" Justify="Justify.FlexEnd"> <MudStack Row="true" Justify="Justify.FlexEnd">