Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-26 12:15:25 +08:00
parent c9a02f9c74
commit 25fca498fc
41 changed files with 313 additions and 286 deletions

View File

@@ -143,6 +143,7 @@ class _CreateVotePageState extends State<CreateVotePage> {
top: 4,
bottom: 4,
),
visualDensity: .standard,
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
foregroundColor: theme.colorScheme.onSurfaceVariant,
backgroundColor: theme.colorScheme.onInverseSurface,
@@ -370,7 +371,12 @@ class _CreateVotePageState extends State<CreateVotePage> {
..updateCanCreate(),
child: Text(
'${const ['文字', '图片'][index]}投票',
strutStyle: const StrutStyle(forceStrutHeight: true),
style: const TextStyle(fontSize: 14, height: 1),
strutStyle: const StrutStyle(
height: 1,
leading: 0,
fontSize: 14,
),
),
);
if (isEnable) {