mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 21:22:53 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user