fix(mobile): prevent nav bar label text wrapping (#26011)

* fix(mobile): prevent nav bar label text wrapping (#25921)

* chore: fix format

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
Christos Longros
2026-02-12 17:57:03 +01:00
committed by GitHub
parent 730b770e67
commit b06c21325e

View File

@@ -73,7 +73,9 @@ ThemeData getThemeData({required ColorScheme colorScheme, required Locale locale
),
navigationBarTheme: NavigationBarThemeData(
backgroundColor: isDark ? colorScheme.surfaceContainer : colorScheme.surface,
labelTextStyle: const WidgetStatePropertyAll(TextStyle(fontSize: 14, fontWeight: FontWeight.w500)),
labelTextStyle: const WidgetStatePropertyAll(
TextStyle(fontSize: 14, fontWeight: FontWeight.w500, overflow: TextOverflow.ellipsis),
),
),
inputDecorationTheme: InputDecorationTheme(
focusedBorder: OutlineInputBorder(