From 83994ff1997711a2efe3e23b04c952ac1ae95bae Mon Sep 17 00:00:00 2001 From: yaso Date: Thu, 7 Nov 2024 10:14:02 +0200 Subject: [PATCH] remove scroll bar on web --- .../lib/mih_components/mih_layout/mih_body.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Frontend/patient_manager/lib/mih_components/mih_layout/mih_body.dart b/Frontend/patient_manager/lib/mih_components/mih_layout/mih_body.dart index 4dede04a..f536dff4 100644 --- a/Frontend/patient_manager/lib/mih_components/mih_layout/mih_body.dart +++ b/Frontend/patient_manager/lib/mih_components/mih_layout/mih_body.dart @@ -87,11 +87,14 @@ class _MIHBodyState extends State { width: screenSize.width, height: screenSize.height, decoration: getBoader(), - child: SingleChildScrollView( - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - mainAxisSize: MainAxisSize.max, - children: widget.bodyItems, + child: ScrollConfiguration( + behavior: ScrollConfiguration.of(context).copyWith(scrollbars: false), + child: SingleChildScrollView( + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + mainAxisSize: MainAxisSize.max, + children: widget.bodyItems, + ), ), ), ),