💄 Unifined layout of dashboard cards

This commit is contained in:
2025-12-27 21:32:52 +08:00
parent e13928b03f
commit 804dd029b1
4 changed files with 168 additions and 50 deletions

View File

@@ -94,9 +94,19 @@ class PostFeaturedList extends HookConsumerWidget {
child: Row(
spacing: 8,
children: [
const Icon(Symbols.highlight),
const Text('highlightPost').tr(),
Spacer(),
Icon(
Symbols.highlight,
size: 20,
color: Theme.of(context).colorScheme.primary,
),
Expanded(
child: Text(
'highlightPost'.tr(),
style: Theme.of(context).textTheme.titleMedium?.copyWith(
fontWeight: FontWeight.bold,
),
),
),
IconButton(
padding: EdgeInsets.zero,
visualDensity: VisualDensity.compact,