From 924facacc4325fc179bf110987903b85713e91fa Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Wed, 23 Sep 2026 21:44:34 +0200 Subject: [PATCH] Restore portrait panel title position and drag handle fade The panel content wrapper added a 10pt top padding that pushed the scroll view down, sitting the title 6pt lower and hard-clipping scrolled content below the drag handle instead of fading it through the full top gradient. Drop the outer padding and restore the scroll top inset to 10pt to match the pre-redesign look. --- Yattee/Views/Player/PortraitDetailsPanel.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Yattee/Views/Player/PortraitDetailsPanel.swift b/Yattee/Views/Player/PortraitDetailsPanel.swift index ce0114eb..a8a85fa0 100644 --- a/Yattee/Views/Player/PortraitDetailsPanel.swift +++ b/Yattee/Views/Player/PortraitDetailsPanel.swift @@ -162,7 +162,7 @@ struct PortraitDetailsPanel: View { onChannelTap: onChannelTap ), scrollConfig: PanelScrollConfig( - topInset: 6, + topInset: 10, bottomInset: hasVideoDescription ? 80 : 50, scrollOffsetChanged: { offset in scrollOffset = offset @@ -180,7 +180,6 @@ struct PortraitDetailsPanel: View { showPageBar: false, inlineInfoSections: inlineInfoSections ) - .padding(.top, 10) .background(Color(.systemBackground)) .overlay(alignment: .bottom) { bottomFadeOverlay