Skip to content

armgit / ente

Public Imported from GitHub
0

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

changes to UI of LocationRecommendation widget

ashilkn9d3971cd7387
diff --git a/lib/ui/viewer/search_tab/locations_section.dart b/lib/ui/viewer/search_tab/locations_section.dart
index e3ca47396d..cc2ee9118c 100644
--- a/lib/ui/viewer/search_tab/locations_section.dart
+++ b/lib/ui/viewer/search_tab/locations_section.dart
@@ -276,19 +276,24 @@ class LocationRecommendation extends StatelessWidget {
),
],
),
+ const SizedBox(height: 4),
Expanded(
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- children: [
- Text(
- locationSearchResult.name(),
- style: enteTextTheme.small
- .copyWith(color: Colors.white),
- maxLines: 1,
- overflow: TextOverflow.ellipsis,
- textAlign: TextAlign.center,
- ),
- ],
+ child: SizedBox(
+ width: 90,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ Text(
+ locationSearchResult.name(),
+ style: enteTextTheme.mini.copyWith(
+ color: Colors.white,
+ ),
+ maxLines: 1,
+ overflow: TextOverflow.ellipsis,
+ textAlign: TextAlign.center,
+ ),
+ ],
+ ),
),
),
],