feat(connection): update tag badges layout

This commit is contained in:
kunish 2023-09-17 03:20:52 +08:00
parent 0015468077
commit b7a0407e42
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -207,12 +207,12 @@ export const ConnectionsSettingsModal = (props: {
<div class="flex flex-col gap-4">
<TagClientSourceIPWithNameForm />
<div class="flex flex-wrap gap-2">
<div class="grid grid-cols-2 gap-2">
<For each={clientSourceIPTags()}>
{({ tagName, sourceIP }) => (
<div class="badge badge-primary badge-lg items-center gap-2">
<span>
{tagName} - {sourceIP}
<div class="badge badge-primary w-full items-center gap-2 py-4">
<span class="truncate">
{tagName}({sourceIP})
</span>
<Button