diff --git a/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_page.dart b/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_page.dart index 31fdfceefbb..8bb9acb1d05 100644 --- a/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_page.dart +++ b/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_page.dart @@ -62,18 +62,32 @@ class _KnowledgePanelPageState extends State ), body: RefreshIndicator( onRefresh: () => _refreshProduct(context), - child: SingleChildScrollView( + child: CustomScrollView( physics: const AlwaysScrollableScrollPhysics(), - child: SmoothCard( - padding: const EdgeInsets.all( - SMALL_SPACE, - ), - child: KnowledgePanelExpandedCard( - panelId: widget.panelId, - product: upToDateProduct, - isInitiallyExpanded: true, - ), - ), + slivers: [ + SliverToBoxAdapter( + child: Column( + children: [ + Padding( + padding: const EdgeInsets.only( + bottom: SMALL_SPACE, + top: SMALL_SPACE, + ), + child: SmoothCard( + padding: const EdgeInsets.all( + SMALL_SPACE, + ), + child: KnowledgePanelExpandedCard( + panelId: widget.panelId, + product: upToDateProduct, + isInitiallyExpanded: true, + ), + ), + ), + ], + ), + ) + ], ), ), );