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.
This commit is contained in:
Arkadiusz Fal
2026-09-23 21:44:34 +02:00
parent 52ec8c9f05
commit 924facacc4

View File

@@ -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