fix: auto width for view action

This commit is contained in:
nathan
2022-09-25 22:05:22 +08:00
parent a4b08e4f46
commit b2d2e071bd
7 changed files with 48 additions and 22 deletions

View File

@ -106,8 +106,11 @@ class _SettingItem extends StatelessWidget {
height: 30,
child: FlowyButton(
isSelected: isSelected,
text: FlowyText.medium(action.title(),
fontSize: 12, color: theme.textColor),
text: FlowyText.medium(
action.title(),
fontSize: 12,
color: theme.textColor,
),
hoverColor: theme.hover,
onTap: () {
context