diff --git a/lib/core/routing/other_routes.dart b/lib/core/routing/other_routes.dart index a5809c8f..fd669e34 100644 --- a/lib/core/routing/other_routes.dart +++ b/lib/core/routing/other_routes.dart @@ -156,7 +156,7 @@ class OtherRoutes { }, ), GoRoute( - path: RouteConstants.subsScreen, + path: '${RouteConstants.subsScreen}/:slug', name: 'subsScreen', builder: (context, state) => SubsScreen(slug: state.pathParameters['slug']!, subType: state.extra as SubType), ), @@ -194,7 +194,11 @@ class OtherRoutes { ), // Other routes - GoRoute(path: RouteConstants.glossaryScreen, name: 'glossaryScreen', builder: (context, state) => GlossaryScreen(passKey: state.extra as String)), + GoRoute( + path: RouteConstants.glossaryScreen, + name: 'glossaryScreen', + builder: (context, state) => GlossaryScreen(passKey: state.extra as String), + ), GoRoute(path: RouteConstants.blockedUsersScreen, name: 'blockedUsersScreen', builder: (context, state) => const BlockedUsersScreen()), GoRoute( path: RouteConstants.notificationsSettingsScreen, diff --git a/lib/features/profile/presentation/widgets/profile_blog_post_widget.dart b/lib/features/profile/presentation/widgets/profile_blog_post_widget.dart index 7163179f..d0714314 100644 --- a/lib/features/profile/presentation/widgets/profile_blog_post_widget.dart +++ b/lib/features/profile/presentation/widgets/profile_blog_post_widget.dart @@ -106,7 +106,7 @@ class _ProfileBlogPostWidgetState extends State { if (state.blogPosts[widget.index].title.isNotEmpty && state.blogPosts[widget.index].description.isNotEmpty) const SizedBox(height: 8), if (state.blogPosts[widget.index].description.isNotEmpty) Padding( - padding: const EdgeInsets.symmetric(horizontal: 4), + padding: const EdgeInsets.symmetric(horizontal: 12), child: Html( data: md.markdownToHtml( state.blogPosts[widget.index].description.length > 200