diff --git a/lib/pages/store.dart b/lib/pages/store.dart index 2e39942..1db988e 100644 --- a/lib/pages/store.dart +++ b/lib/pages/store.dart @@ -2465,7 +2465,12 @@ class _DocsPanel extends StatelessWidget { final theme = Theme.of(context); final l = AppLocalizations.of(context)!; if (future == null) { + // Row im Modul-Detail-Sheet kann eng werden (~340 dp). + // Hint-Text wird in Expanded gewrappt damit er bricht + // statt zu overflowen (CrossAxisAlignment.center hält die + // Optik mit dem Button auf einer Höhe). return Row( + crossAxisAlignment: CrossAxisAlignment.center, children: [ OutlinedButton.icon( onPressed: onLoad, @@ -2473,10 +2478,12 @@ class _DocsPanel extends StatelessWidget { label: Text(l.storeLoadDocs), ), const SizedBox(width: FaiSpace.sm), - Text( - l.storeDocsHint, - style: theme.textTheme.bodySmall?.copyWith( - color: theme.colorScheme.onSurfaceVariant, + Expanded( + child: Text( + l.storeDocsHint, + style: theme.textTheme.bodySmall?.copyWith( + color: theme.colorScheme.onSurfaceVariant, + ), ), ), ],