From ac7b0844f479a82a1dbcaa02d699c689d971becb Mon Sep 17 00:00:00 2001 From: Penry Date: Fri, 12 Jun 2026 20:48:30 +0200 Subject: [PATCH] fix: #72 fixed that the height of the PrivateEntityCard.razor changes when don't having all dropdown menues --- .../PrivateList/Components/PrivateEntityCard.razor | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor b/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor index 0f3cd4a..f42e7d3 100644 --- a/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor +++ b/CouchLog/Components/Pages/PrivateList/Components/PrivateEntityCard.razor @@ -40,8 +40,8 @@ - @if (PrivateEntity.GlobalEntity.MediaType.Name == "Series" || PrivateEntity.GlobalEntity.MediaType.Name == "Anime") - { + + + Label="" + Class="@(PrivateEntity.GlobalEntity.MediaType.Name == "Series" ? "" : "invisible")"> @{ int? currentSeason = PrivateEntity.Season ?? 1; int? startOffsetSeason = currentSeason > 1 ? -1 : 0; @@ -69,7 +70,8 @@ ValueChanged="@(newEpisode => OnEpisodeChange.InvokeAsync(newEpisode))" Dense="true" Variant="Variant.Outlined" - Label=""> + Label="" + Class="@(PrivateEntity.GlobalEntity.MediaType.Name == "Series" ? "" : "invisible")"> @{ int? currentEpisode = PrivateEntity.Episode ?? 1; int? startOffsetEpisode = currentEpisode > 1 ? -1 : 0; @@ -81,7 +83,7 @@ } - } + -- 2.52.0