From 46faef7f733ee310a71412753b215d4dc9e29666 Mon Sep 17 00:00:00 2001 From: Yassin Date: Sat, 21 Dec 2024 22:54:16 +0200 Subject: [PATCH] refactor: add increase the font, decrease the decrease the `Padding` --- lib/src/pages/quran/reading/quran_reading_screen.dart | 2 +- lib/src/pages/quran/widget/reading/quran_surah_selector.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/pages/quran/reading/quran_reading_screen.dart b/lib/src/pages/quran/reading/quran_reading_screen.dart index 91deaaf93..771e2e6bf 100644 --- a/lib/src/pages/quran/reading/quran_reading_screen.dart +++ b/lib/src/pages/quran/reading/quran_reading_screen.dart @@ -601,7 +601,7 @@ class _QuranReadingScreenState extends ConsumerState { children: [ // Add padding container around main content Padding( - padding: EdgeInsets.only(top: isPortrait ? 0 : 2.h), // Add top padding only in landscape mode + padding: EdgeInsets.only(top: isPortrait ? 0 : 1.h), // Add top padding only in landscape mode child: viewStrategy.buildView(state, ref, context), ), diff --git a/lib/src/pages/quran/widget/reading/quran_surah_selector.dart b/lib/src/pages/quran/widget/reading/quran_surah_selector.dart index 138f08179..9370844ff 100644 --- a/lib/src/pages/quran/widget/reading/quran_surah_selector.dart +++ b/lib/src/pages/quran/widget/reading/quran_surah_selector.dart @@ -59,7 +59,7 @@ class SurahSelectorWidget extends ConsumerWidget { state.currentSurahName, style: TextStyle( color: Colors.white, - fontSize: 7.sp, + fontSize: 8.sp, fontWeight: FontWeight.bold, ), textAlign: TextAlign.center,