fix spaces with messages

This commit is contained in:
2025-08-11 11:07:17 +02:00
parent beabd64789
commit f201f16a3b
15 changed files with 56 additions and 40 deletions

View File

@@ -203,7 +203,7 @@ class _MihAccessRequestState extends State<MihAccessRequest> {
),
const SizedBox(height: 10),
Text(
"No Access has been granted to your MIH Profile",
"No access has been granted to your MIH Profile",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(

View File

@@ -97,7 +97,7 @@ class _PatientAccessRequestState extends State<Appointments> {
),
const SizedBox(height: 10),
Text(
"No Appointments for $selectedDay",
"No appointments for $selectedDay",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -106,7 +106,7 @@ class _PatientAccessRequestState extends State<Appointments> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,

View File

@@ -1,4 +1,3 @@
import 'package:flutter/services.dart';
import 'package:mzansi_innovation_hub/main.dart';
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_single_child_scroll.dart';
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_icons.dart';
@@ -259,7 +258,7 @@ class _MihBusinessHomeState extends State<MihBusinessHome>
),
),
),
const SizedBox(height: 10),
const SizedBox(height: 20),
ValueListenableBuilder(
valueListenable: searchPackageName,
builder: (context, value, child) {

View File

@@ -804,7 +804,7 @@ class _AiChatState extends State<AiChat> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const SizedBox(height: 50),
// const SizedBox(height: 50),
Icon(
MihIcons.mzansiAi,
size: 165,
@@ -821,7 +821,7 @@ class _AiChatState extends State<AiChat> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,

View File

@@ -152,7 +152,7 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
),
const SizedBox(height: 10),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -192,7 +192,7 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
),
const SizedBox(height: 10),
Text(
"No Businesses added to your Favourites",
"No favourite businesses added to your mzansi directory",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -203,7 +203,7 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -216,7 +216,7 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
.secondaryColor(),
),
children: [
TextSpan(text: "Use the Mzansi Search"),
TextSpan(text: "Use the mzansi search"),
// WidgetSpan(
// alignment:
// PlaceholderAlignment.middle,
@@ -230,7 +230,8 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
// ),
// ),
TextSpan(
text: " to find Businesses of Mzansi"),
text:
" to find your favourite businesses of mzansi"),
],
),
),

View File

@@ -297,7 +297,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
),
const SizedBox(height: 10),
Text(
"Search for People Of Mzansi!",
"Search for people of Mzansi!",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -308,7 +308,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -332,7 +332,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
.secondaryColor(),
),
),
TextSpan(text: " to search for Businesses of Mzansi"),
TextSpan(text: " to search for businesses of Mzansi"),
],
),
),
@@ -380,7 +380,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
),
const SizedBox(height: 10),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -443,9 +443,9 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
color:
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -473,7 +473,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
),
const SizedBox(height: 10),
Text(
"Search for Business Of Mzansi!",
"Search for businesses of Mzansi!",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -484,7 +484,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -508,7 +508,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
.secondaryColor(),
),
),
TextSpan(text: " to search for People of Mzansi"),
TextSpan(text: " to search for people of Mzansi"),
],
),
),

View File

@@ -74,7 +74,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
),
const SizedBox(height: 10),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -100,7 +100,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
),
const SizedBox(height: 10),
Text(
"Search for a Member of Mzansi to add to your team",
"Search for a member of Mzansi to add to your team",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -109,7 +109,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -122,7 +122,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
),
children: [
TextSpan(
text: "You can search using their Username or Email"),
text: "You can search using their username or email"),
// WidgetSpan(
// alignment: PlaceholderAlignment.middle,
// child: Icon(

View File

@@ -540,7 +540,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
),
const SizedBox(height: 10),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -567,7 +567,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
),
const SizedBox(height: 10),
Text(
"No Cards added to your Mzansi Wallet",
"No cards added to your Mzansi Wallet",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -577,7 +577,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -624,7 +624,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
),
const SizedBox(height: 10),
Text(
"No Favourite Cards in your Mzansi Wallet",
"No favourite cards in your Mzansi Wallet",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -634,7 +634,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -660,7 +660,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
),
TextSpan(
text:
" when viewing loyalty card to add it to your favorites"),
" when viewing a loyalty card to add it to your favorites"),
],
),
),

View File

@@ -137,7 +137,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
),
const SizedBox(height: 10),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -172,7 +172,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,
@@ -186,7 +186,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
children: [
TextSpan(
text:
"You can search using their teamtient ID or Medical Aid No."),
"You can search using their ID Number or Medical Aid No."),
// WidgetSpan(
// alignment: PlaceholderAlignment.middle,
// child: Icon(

View File

@@ -126,7 +126,7 @@ class _MyPatientListState extends State<MyPatientList> {
),
const SizedBox(height: 10),
Text(
"Let's Try Refining Your Search",
"Let's try refining your search",
textAlign: TextAlign.center,
overflow: TextOverflow.visible,
style: TextStyle(
@@ -161,7 +161,7 @@ class _MyPatientListState extends State<MyPatientList> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,

View File

@@ -193,7 +193,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,

View File

@@ -385,7 +385,7 @@ class _BuildClaimStatementFileListState
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Visibility(
visible: widget.business != null,
child: Center(

View File

@@ -436,7 +436,7 @@ class _BuildFilesListState extends State<BuildFilesList> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Center(
child: RichText(
textAlign: TextAlign.center,

View File

@@ -317,7 +317,7 @@ class _BuildNotesListState extends State<BuildNotesList> {
color: MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
),
const SizedBox(height: 10),
const SizedBox(height: 25),
Visibility(
visible: widget.business != null,
child: Center(