fix: reduce minWidth of internal constrained box in word zoom card to account for padding (#1428)
This commit is contained in:
parent
a37266fc3d
commit
1c8d519342
1 changed files with 2 additions and 1 deletions
|
|
@ -218,7 +218,8 @@ class WordZoomWidgetState extends State<WordZoomWidget> {
|
|||
children: [
|
||||
ConstrainedBox(
|
||||
constraints: const BoxConstraints(
|
||||
minWidth: AppConfig.toolbarMinWidth,
|
||||
// subtracting 16.0 to account for the padding
|
||||
minWidth: AppConfig.toolbarMinWidth - 16.0,
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue