From d2fb465234dfb7ce3adbe0d4c0aaa41a61699a03 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 27 Sep 2026 20:45:18 +0200 Subject: [PATCH] Cap the expanded comments pill at 600pt on wide panels The excerpt stretches to the panel width, which on the iPad corner layout's below-video panel meant a pill spanning the whole window. The own-row expanded pill is now capped at 600pt, centered above the player pill; the bottom-row variant already had a 400pt cap. --- Yattee/Views/Player/PortraitDetailsPanel.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Yattee/Views/Player/PortraitDetailsPanel.swift b/Yattee/Views/Player/PortraitDetailsPanel.swift index 1f6e570f..b618bf62 100644 --- a/Yattee/Views/Player/PortraitDetailsPanel.swift +++ b/Yattee/Views/Player/PortraitDetailsPanel.swift @@ -336,6 +336,9 @@ struct PortraitDetailsPanel: View { showAvatar: panelSettings.commentsShowAvatars, onTap: expandComments ) + // Wide hosts (iPad corner/stacked panels) would + // stretch the excerpt across the whole panel. + .frame(maxWidth: 600) } // Bottom row