From a37e6476743463ec740212ca6c32cc2670ffcd57 Mon Sep 17 00:00:00 2001 From: Truong Vo <41848815+vmtruong301296@users.noreply.github.com> Date: Fri, 12 Dec 2025 17:12:51 +0700 Subject: [PATCH] =?UTF-8?q?update=20giao=20di=E1=BB=87n=20bottom=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Drawer/DrawerControl.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/FRONTEND/src/components/Drawer/DrawerControl.tsx b/FRONTEND/src/components/Drawer/DrawerControl.tsx index f4718fa..6cac146 100644 --- a/FRONTEND/src/components/Drawer/DrawerControl.tsx +++ b/FRONTEND/src/components/Drawer/DrawerControl.tsx @@ -1194,11 +1194,11 @@ export const DrawerSwitchControl: React.FC = ({ - + {sortedPorts(group) .slice( 0, @@ -1217,8 +1217,8 @@ export const DrawerSwitchControl: React.FC = ({ style={{ flex: "0 0 auto", position: "relative", - width: "50px", - height: "40px", + width: "34px", + height: "28px", backgroundColor: port.poe === "ON" ? "#f2dcf8" @@ -1248,7 +1248,7 @@ export const DrawerSwitchControl: React.FC = ({ flexWrap: "wrap", }} > - + {normalizePortName(port.name)} @@ -1269,7 +1269,7 @@ export const DrawerSwitchControl: React.FC = ({ ))} - + {sortedPorts(group) .slice( Math.ceil(sortedPorts(group).length / 2), @@ -1288,8 +1288,8 @@ export const DrawerSwitchControl: React.FC = ({ style={{ flex: "0 0 auto", position: "relative", - width: "50px", - height: "40px", + width: "40px", + height: "32px", backgroundColor: port.poe === "ON" ? "#f2dcf8" @@ -1359,11 +1359,11 @@ export const DrawerSwitchControl: React.FC = ({ - + {sortedPorts(group) .slice( 0, @@ -1382,8 +1382,8 @@ export const DrawerSwitchControl: React.FC = ({ style={{ flex: "0 0 auto", position: "relative", - width: "50px", - height: "40px", + width: "40px", + height: "32px", backgroundColor: port.poe === "ON" ? "#f2dcf8" @@ -1413,7 +1413,7 @@ export const DrawerSwitchControl: React.FC = ({ flexWrap: "wrap", }} > - + {normalizePortName(port.name)} @@ -1434,7 +1434,7 @@ export const DrawerSwitchControl: React.FC = ({ ))} - + {sortedPorts(group) .slice( Math.ceil(sortedPorts(group).length / 2),