finally fix visual bug

This commit is contained in:
zoe 2022-09-08 12:12:54 +02:00
parent 8bec897d52
commit e2caa421b8
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class _FullPostViewState extends State<FullPostView> {
), ),
Container( Container(
constraints: BoxConstraints( constraints: BoxConstraints(
maxHeight: MediaQuery.of(context).size.height * 2 / 3, maxHeight: MediaQuery.of(context).size.height * 0.9,
maxWidth: global.getConstraints(context).maxWidth), maxWidth: global.getConstraints(context).maxWidth),
width: global.getWidth(context), width: global.getWidth(context),
child: SingleChildScrollView( child: SingleChildScrollView(

View File

@ -206,7 +206,7 @@ class _ProfileViewState extends State<ProfileView> {
constraints: global.getConstraints(context), constraints: global.getConstraints(context),
width: global.getWidth(context) + width: global.getWidth(context) +
MediaQuery.of(context).size.width * 0.2, 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( child: ListView.builder(
controller: _scrollController, controller: _scrollController,
itemCount: threads.length + 2, itemCount: threads.length + 2,