From 28985b0f52dede1744602b1592b9e23214f47c9e Mon Sep 17 00:00:00 2001 From: Blazebrain Date: Tue, 3 Oct 2023 09:13:53 +0100 Subject: [PATCH] fix: Add padding to text --- lib/src/screens/seed/pre_seed_page.dart | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/src/screens/seed/pre_seed_page.dart b/lib/src/screens/seed/pre_seed_page.dart index 5e0131cd1..8c8b06654 100644 --- a/lib/src/screens/seed/pre_seed_page.dart +++ b/lib/src/screens/seed/pre_seed_page.dart @@ -43,13 +43,16 @@ class PreSeedPage extends BasePage { constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height * 0.3), child: AspectRatio(aspectRatio: 1, child: image), ), - Text( - S.of(context).pre_seed_description(wordsCount.toString()), - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 14, - fontWeight: FontWeight.normal, - color: Theme.of(context).extension()!.secondaryTextColor, + Padding( + padding: EdgeInsets.all(10), + child: Text( + S.of(context).pre_seed_description(wordsCount.toString()), + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 14, + fontWeight: FontWeight.normal, + color: Theme.of(context).extension()!.secondaryTextColor, + ), ), ), PrimaryButton(