Skip to content

Commit 7d86227

Browse files
committed
Fix minor UI issues
1 parent bc0ac69 commit 7d86227

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

kitchenowl/lib/pages/expense_overview_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class _ExpenseOverviewPageState extends State<ExpenseOverviewPage> {
166166
),
167167
style: Theme.of(context).textTheme.titleMedium,
168168
),
169-
trailing: Row(
169+
subtitle: Row(
170170
crossAxisAlignment: CrossAxisAlignment.center,
171171
mainAxisSize: MainAxisSize.min,
172172
children: [

kitchenowl/lib/pages/household_page/recipe_list.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,9 @@ class _RecipeListPageState extends State<RecipeListPage> {
210210
slivers: [
211211
SliverToBoxAdapter(child: header),
212212
SliverPadding(
213-
padding: const EdgeInsets.only(left: 32, right: 16),
213+
padding: EdgeInsets.only(
214+
left: state is SearchRecipeListState ? 16 : 32,
215+
right: 16),
214216
sliver: state.listView
215217
? SliverList(
216218
delegate: SliverChildBuilderDelegate(

kitchenowl/lib/widgets/recipe_card.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class RecipeCard extends StatelessWidget {
5555
crossAxisAlignment: CrossAxisAlignment.stretch,
5656
children: [
5757
Expanded(
58-
flex: 3,
58+
flex: 5,
5959
child: Stack(
6060
fit: StackFit.passthrough,
6161
children: [
@@ -113,7 +113,7 @@ class RecipeCard extends StatelessWidget {
113113
),
114114
),
115115
Expanded(
116-
flex: 2,
116+
flex: 4,
117117
child: Padding(
118118
padding: const EdgeInsets.all(8),
119119
child: Column(

kitchenowl/lib/widgets/sliver_recipe_carousel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class SliverRecipeCarousel extends StatelessWidget {
7474
child: SizedBox(
7575
height: getValueForScreenType(
7676
context: context,
77-
mobile: 365,
77+
mobile: 370,
7878
tablet: 405,
7979
desktop: 405,
8080
),

0 commit comments

Comments
 (0)