Skip to content

Commit

Permalink
fix: long host style for table
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Feb 14, 2025
1 parent 28bc434 commit e0c0bc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/connections/ConnectionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
CONNECTIONS_TABLE_ACCESSOR_KEY.UlSpeed,
].includes(cell.column.id as CONNECTIONS_TABLE_ACCESSOR_KEY) && 'min-w-20',
CONNECTIONS_TABLE_ACCESSOR_KEY.Host ===
(cell.column.id as CONNECTIONS_TABLE_ACCESSOR_KEY) && 'max-w-96 truncate',
(cell.column.id as CONNECTIONS_TABLE_ACCESSOR_KEY) && 'max-w-80 truncate',
CONNECTIONS_TABLE_ACCESSOR_KEY.Chains ===
(cell.column.id as CONNECTIONS_TABLE_ACCESSOR_KEY) &&
'max-w-[36rem] truncate',
Expand Down
2 changes: 1 addition & 1 deletion src/components/proxies/ProxyNodeGrid.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
class="grid max-h-96 gap-2 overflow-y-auto overflow-x-hidden scrollbar-thin"
:style="`grid-template-columns: repeat(auto-fill, minmax(${proxyCardSize === PROXY_CARD_SIZE.LARGE ? 150 : 138}px, 1fr));`"
:style="`grid-template-columns: repeat(auto-fill, minmax(${proxyCardSize === PROXY_CARD_SIZE.LARGE ? 145 : 130}px, 1fr));`"
>
<slot />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/proxies/ProxyPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>
</div>
<div
class="flex items-center gap-2 py-2"
class="flex items-center gap-2 pt-4"
v-else
>
<div class="flex flex-1 items-center justify-center overflow-hidden rounded-2xl [&>*]:h-2">
Expand Down

0 comments on commit e0c0bc9

Please sign in to comment.