From 42772ad67f37ee634459402f6f2babe5e415be34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=B1=E9=A2=A8=E8=B0=B7=E3=82=AA=E3=83=BC=E3=82=B7?= =?UTF-8?q?=E3=83=A3=E3=83=B3?= Date: Fri, 2 Sep 2022 17:50:08 +0900 Subject: [PATCH] chore: adjust lbac item size --- views/components/main/parts/mini-ship/mini-ship-item.es | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/components/main/parts/mini-ship/mini-ship-item.es b/views/components/main/parts/mini-ship/mini-ship-item.es index 95aba0051..f57dca7bd 100644 --- a/views/components/main/parts/mini-ship/mini-ship-item.es +++ b/views/components/main/parts/mini-ship/mini-ship-item.es @@ -210,8 +210,8 @@ const ShipItem = styled.div` white-space: nowrap; ${({ avatar = true, shipName = true, isLBAC = false }) => { const avatarWidth = avatar ? '50px' : 0 - const nameWidth = shipName ? 'minmax(35px, 95px)' : '15px' - const dataWidth = isLBAC ? 'minmax(32px, 1fr) 120px' : 'minmax(70px, 5fr) 18px 42px' + const nameWidth = shipName ? 'minmax(35px, 95px)' : isLBAC ? '1fr' : '15px' + const dataWidth = isLBAC ? '32px 120px' : 'minmax(70px, 5fr) 18px 42px' return css` grid-template-columns: ${avatarWidth} ${nameWidth} ${dataWidth}; grid-template-rows: 20px 13px;