Skip to content

Commit ef2eb32

Browse files
committed
Add more bottom padding and margin to AreasCard
1 parent f9cde63 commit ef2eb32

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/studySpacePage.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class AreasCard extends StatelessWidget {
7878
@override
7979
Widget build(BuildContext context) {
8080
var cardContentWidth = MediaQuery.of(context).size.width * 0.7;
81-
var cardContentHeight = cardContentWidth;
81+
var cardContentHeight = cardContentWidth * 1.1;
8282
return SizedBox(
8383
height: cardContentHeight,
8484
child: ListView.separated(
@@ -193,6 +193,13 @@ class StudySpacePage extends StatelessWidget {
193193
Visibility(
194194
visible: studySpace.areas.isNotEmpty,
195195
child: AreasCard(areas: studySpace.areas)),
196+
Visibility(
197+
visible: studySpace.areas.isNotEmpty,
198+
child: SizedBox(
199+
height:
200+
Theme.of(context).textTheme.headlineSmall!.fontSize! /
201+
2),
202+
),
196203
],
197204
),
198205
),

0 commit comments

Comments
 (0)