From 24ee8509d2fb6fe598c3fdbf412bc6f2bf614936 Mon Sep 17 00:00:00 2001 From: 21pages Date: Mon, 29 May 2023 16:09:23 +0800 Subject: [PATCH] fix cm permission icon overflow Signed-off-by: 21pages --- flutter/lib/desktop/pages/server_page.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flutter/lib/desktop/pages/server_page.dart b/flutter/lib/desktop/pages/server_page.dart index b959f9ac4..5e3bbc98f 100644 --- a/flutter/lib/desktop/pages/server_page.dart +++ b/flutter/lib/desktop/pages/server_page.dart @@ -472,10 +472,11 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> { child: Column( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ - Icon( - iconData, - size: 30.0, - color: Colors.white, + Expanded( + child: Icon( + iconData, + color: Colors.white, + ), ), Text( enabled ? "ON" : "OFF",