Skip to content

Commit

Permalink
fix: truncate proxy chain in card
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Dec 2, 2024
1 parent 0f7bbaf commit 7aaeaec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/connections/ConnectionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export default defineComponent<{
</div>
)
const chians = (
<span class="inline w-56 text-sm">{[...props.conn.chains].reverse().join('->')}</span>
<span class="inline w-56 truncate text-sm">
{[...props.conn.chains].reverse().join('->')}
</span>
)
const rule = <span class="hidden text-sm tracking-tight xl:inline">{props.conn.rule}</span>
const processPath = (
Expand Down

0 comments on commit 7aaeaec

Please sign in to comment.