fix: the button sizes in math equation input field are not same (#4741)

This commit is contained in:
Lucas.Xu 2024-02-26 13:21:27 +07:00 committed by GitHub
parent e2028ac5a0
commit dfe3b0a929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,6 @@ class _ImageAlignButtonState extends State<_ImageAlignButton> {
child: MenuBlockButton(
tooltip: LocaleKeys.document_plugins_optionAction_align.tr(),
iconData: iconFor(align),
onTap: () {},
),
popupBuilder: (_) {
preventMenuClose();

View File

@ -222,6 +222,7 @@ class MathEquationBlockComponentWidgetState
actions: [
SecondaryTextButton(
LocaleKeys.button_cancel.tr(),
mode: TextButtonMode.big,
onPressed: () => dismiss(context),
),
PrimaryTextButton(