Skip to content

Commit

Permalink
chore: adjust lbac item size
Browse files Browse the repository at this point in the history
  • Loading branch information
KochiyaOcean committed Sep 2, 2022
1 parent db37bf4 commit 42772ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/components/main/parts/mini-ship/mini-ship-item.es
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 42772ad

Please sign in to comment.