fixed notes ui bug

This commit is contained in:
Kima 2024-04-09 22:53:18 +02:00
parent 329ad57e36
commit ee386d085c
2 changed files with 8 additions and 6 deletions

View File

@ -135,10 +135,12 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
title: Text('your_notes'.i18n),
padding: EdgeInsets.zero,
isTransparent: true,
child: Wrap(
spacing: 18.0,
runSpacing: 18.0,
children: selfNoteTiles,
child: Center(
child: Wrap(
spacing: 18.0,
runSpacing: 18.0,
children: selfNoteTiles,
),
),
));
}

View File

@ -17,8 +17,8 @@ class SelfNoteTile extends StatelessWidget {
child: Column(
children: [
Container(
height: 172.0,
width: 172.0,
height: MediaQuery.of(context).size.width / 2.42,
width: MediaQuery.of(context).size.width / 2.42,
padding: const EdgeInsets.all(10.0),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16.0),