diff --git a/lib/Screens/MainView/section_page_detail.dart b/lib/Screens/MainView/section_page_detail.dart index bb2ef66..6f1945a 100644 --- a/lib/Screens/MainView/section_page_detail.dart +++ b/lib/Screens/MainView/section_page_detail.dart @@ -133,7 +133,7 @@ class _SectionPageDetailState extends State { alignment: Alignment.center, child: HtmlWidget( widget.sectionDTO.title!.where((translation) => translation.language == appContext.getContext().language).firstOrNull?.value ?? "", - textStyle: new TextStyle(fontSize: kIsWeb ? kWebSectionTitleDetailSize : kSectionTitleDetailSize, color: widget.textColor, fontFamily: 'Roboto'), + textStyle: new TextStyle(fontSize: kIsWeb ? kWebSectionTitleDetailSize : kSectionTitleDetailSize, /*color: widget.textColor,*/ fontFamily: 'Roboto'), ) ), if(widget.sectionDTO.description!.where((translation) => translation.language == appContext.getContext().language).firstOrNull != null && widget.sectionDTO.description!.firstWhere((translation) => translation.language == appContext.getContext().language).value!.trim().isNotEmpty) @@ -141,7 +141,7 @@ class _SectionPageDetailState extends State { //alignment: Alignment.center, child: HtmlWidget( widget.sectionDTO.description!.where((translation) => translation.language == appContext.getContext().language).firstOrNull?.value ?? "", - textStyle: new TextStyle(fontSize: kIsWeb? kWebSectionDescriptionDetailSize : kSectionDescriptionDetailSize, color: widget.textColor, fontFamily: 'Roboto'), + textStyle: new TextStyle(fontSize: kIsWeb? kWebSectionDescriptionDetailSize : kSectionDescriptionDetailSize, /*color: widget.textColor,*/ fontFamily: 'Roboto'), ) ) ], diff --git a/lib/constants.dart b/lib/constants.dart index 1be3e8c..18ee9e3 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -18,7 +18,7 @@ const kBackgroundLight = Color(0xfff3f3f3); const List languages = ["FR", "NL", "EN", "DE", "IT", "ES", "PL", "CN", "AR", "UK"]; // hmmmm depends on config.. const kTitleSize = 32.0; -const kDescriptionSize = 15.0; +const kDescriptionSize = 22.0; const kSectionTitleDetailSize = 30.0; const kSectionDescriptionDetailSize = 18.0; diff --git a/pubspec.yaml b/pubspec.yaml index 493c53b..38534d6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -56,7 +56,7 @@ dependencies: confetti: ^0.7.0 flutter_launcher_icons: ^0.13.1 # All but web #flutter_svg_provider: ^1.0.6 - flutter_widget_from_html: ^0.15.1 + flutter_widget_from_html: ^0.15.3 flutter_pdfview: ^1.3.2 firebase_storage: ^12.0.1 firebase_core: ^3.1.0