From e2caa421b80ce4c8f3d51836530f0eb8f8785cf1 Mon Sep 17 00:00:00 2001 From: zoe Date: Thu, 8 Sep 2022 12:12:54 +0200 Subject: [PATCH] finally fix visual bug --- lib/dialogues/full_post_view.dart | 2 +- lib/dialogues/profile_view.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dialogues/full_post_view.dart b/lib/dialogues/full_post_view.dart index a859c8a..a108a92 100644 --- a/lib/dialogues/full_post_view.dart +++ b/lib/dialogues/full_post_view.dart @@ -179,7 +179,7 @@ class _FullPostViewState extends State { ), Container( constraints: BoxConstraints( - maxHeight: MediaQuery.of(context).size.height * 2 / 3, + maxHeight: MediaQuery.of(context).size.height * 0.9, maxWidth: global.getConstraints(context).maxWidth), width: global.getWidth(context), child: SingleChildScrollView( diff --git a/lib/dialogues/profile_view.dart b/lib/dialogues/profile_view.dart index ec439e9..0e6b622 100644 --- a/lib/dialogues/profile_view.dart +++ b/lib/dialogues/profile_view.dart @@ -206,7 +206,7 @@ class _ProfileViewState extends State { constraints: global.getConstraints(context), width: global.getWidth(context) + MediaQuery.of(context).size.width * 0.2, - height: MediaQuery.of(context).size.height * 2 / 3, + height: MediaQuery.of(context).size.height * 0.9, child: ListView.builder( controller: _scrollController, itemCount: threads.length + 2,