From fd8530e971f7a1c67ead6bc7c81829048d54ea1b Mon Sep 17 00:00:00 2001 From: ErBW_s Date: Mon, 13 Jan 2025 01:15:07 +0800 Subject: [PATCH] fix phone collect button background is larger than icon --- lib/bean/card/bangumi_info_card.dart | 3 ++- lib/pages/collect/collect_page.dart | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bean/card/bangumi_info_card.dart b/lib/bean/card/bangumi_info_card.dart index 4e0ffcd2..b5fe0c64 100644 --- a/lib/bean/card/bangumi_info_card.dart +++ b/lib/bean/card/bangumi_info_card.dart @@ -53,7 +53,8 @@ class _BangumiInfoCardVState extends State { right: 5, bottom: 5, child: Container( - // padding: EdgeInsets.all(padding), + width: 40, + height: 40, decoration: BoxDecoration( color: Theme.of(context) .colorScheme diff --git a/lib/pages/collect/collect_page.dart b/lib/pages/collect/collect_page.dart index b41d7d86..1a518a1d 100644 --- a/lib/pages/collect/collect_page.dart +++ b/lib/pages/collect/collect_page.dart @@ -150,7 +150,8 @@ class _CollectPageState extends State bottom: 5, child: showDelete ? Container( - // padding: EdgeInsets.all(padding), + width: 40, + height: 40, decoration: BoxDecoration( color: Theme.of(context) .colorScheme