High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): curated places taking more size on large screens (#3959)
shenlong90f9501902bb
diff --git a/mobile/lib/modules/search/views/search_page.dart b/mobile/lib/modules/search/views/search_page.dartindex a7edcd90e2..e8ea40d2ae 100644--- a/mobile/lib/modules/search/views/search_page.dart+++ b/mobile/lib/modules/search/views/search_page.dart@@ -1,3 +1,4 @@+import 'dart:math' as math;import 'package:auto_route/auto_route.dart';import 'package:easy_localization/easy_localization.dart';import 'package:flutter/material.dart';@@ -27,7 +28,7 @@ class SearchPage extends HookConsumerWidget {final curatedLocation = ref.watch(getCuratedLocationProvider);final curatedPeople = ref.watch(getCuratedPeopleProvider);var isDarkTheme = Theme.of(context).brightness == Brightness.dark;- double imageSize = MediaQuery.of(context).size.width / 3;+ double imageSize = math.min(MediaQuery.of(context).size.width / 3, 150);TextStyle categoryTitleStyle = const TextStyle(fontWeight: FontWeight.bold,