From bc832c3dc227c30fa98340350c9b21d16ded28a0 Mon Sep 17 00:00:00 2001 From: Lentumunai-Mark Date: Thu, 19 Dec 2024 15:11:26 +0300 Subject: [PATCH 1/2] Reduce horizontal padding to avoid icon clipping on top screen section Signed-off-by: Lentumunai-Mark --- .../fhircore/quest/ui/main/components/TopScreenSection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt b/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt index 29c14d7acc..1d541161ba 100644 --- a/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt +++ b/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt @@ -139,7 +139,7 @@ fun TopScreenSection( modifier = modifier .fillMaxWidth() - .padding(horizontal = 16.dp, vertical = 16.dp) + .padding(horizontal = 12.dp, vertical = 16.dp) .testTag( TITLE_ROW_TEST_TAG, ), From d380247b767f1548da206a5bb13fd1bbabc69bb3 Mon Sep 17 00:00:00 2001 From: Lentumunai-Mark Date: Thu, 19 Dec 2024 15:40:36 +0300 Subject: [PATCH 2/2] Reduce icon clipping on top screen section. Signed-off-by: Lentumunai-Mark --- .../fhircore/quest/ui/main/components/TopScreenSection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt b/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt index 1d541161ba..fd918d1e49 100644 --- a/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt +++ b/android/quest/src/main/java/org/smartregister/fhircore/quest/ui/main/components/TopScreenSection.kt @@ -161,7 +161,7 @@ fun TopScreenSection( ) Text( text = title, - fontSize = 20.sp, + fontSize = 19.sp, color = Color.White, modifier = modifier.padding(start = 16.dp).testTag(TOP_ROW_TEXT_TEST_TAG), )