Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

tweak wrapped card spacing and close affordance

laurenspriem91b79eba80d3
diff --git a/mobile/apps/photos/lib/ui/wrapped/cards/story_card.dart b/mobile/apps/photos/lib/ui/wrapped/cards/story_card.dart
index b13e7fbaa4..4a0f21daed 100644
--- a/mobile/apps/photos/lib/ui/wrapped/cards/story_card.dart
+++ b/mobile/apps/photos/lib/ui/wrapped/cards/story_card.dart
@@ -102,7 +102,7 @@ class _StoryCard extends StatelessWidget {
),
),
Padding(
- padding: const EdgeInsets.fromLTRB(24, 44, 24, 32),
+ padding: const EdgeInsets.fromLTRB(24, 56, 24, 32),
child: _CardContent(
card: card,
colorScheme: colorScheme,
diff --git a/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart b/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart
index fa0e93ecf5..4141936cec 100644
--- a/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart
+++ b/mobile/apps/photos/lib/ui/wrapped/wrapped_viewer_page.dart
@@ -512,24 +512,19 @@ class _WrappedViewerPageState extends State<WrappedViewerPage>
},
),
),
- const SizedBox(height: 18),
+ const SizedBox(height: 12),
Align(
alignment: Alignment.centerRight,
child: GestureDetector(
onTap: _closeViewer,
behavior: HitTestBehavior.translucent,
- child: Container(
- width: 36,
- height: 36,
- alignment: Alignment.center,
- decoration: BoxDecoration(
- color: Colors.white.withValues(alpha: 0.12),
- shape: BoxShape.circle,
- ),
+ child: SizedBox(
+ width: 44,
+ height: 44,
child: Icon(
Icons.close_rounded,
- size: 20,
- color: Colors.white.withValues(alpha: 0.88),
+ size: 24,
+ color: Colors.white.withValues(alpha: 0.9),
),
),
),