- {/* Close button */}
+ {/* Close button. top respects iOS safe-area (notch) so it doesn't
+ disappear under the camera/dynamic-island. */}
@@ -456,19 +460,25 @@ export const PhotoLightbox: React.FC = ({
) : null}
- {/* Bottom toolbar */}
+ {/* Bottom toolbar. flex-wrap + reduced gap/padding on mobile prevent
+ the action row from clipping when feedback (likes / 5-star ratings /
+ comments) is enabled. pb-[env(safe-area-inset-bottom)] keeps the
+ buttons above the iOS home indicator. */}
-
+
{currentIndex + 1} / {photos.length}
-
-
+
+
- {/* Touch/swipe indicators for mobile */}
-
+ {/* Touch/swipe hint for mobile. Sits above the bottom toolbar
+ (which can wrap to two rows when feedback controls are enabled). */}
+