From d99f8583c1c4dd337c9a05ce6758265d66061702 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Mon, 20 May 2024 02:34:42 +0700 Subject: [PATCH] Open ASN link to new tab This also remove unused global `dashboard-card` css class. --- frontend/src/app.css | 3 --- .../datatables/xmr/CountryCellWithAsn.svelte | 10 +++++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/app.css b/frontend/src/app.css index f66ade7..c7bdac1 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -16,9 +16,6 @@ p { a.external { @apply link after:content-['_↗'] } -.dashboard-card { - @apply bg-surface-50-900-token rounded-lg border-2 border-dashed border-gray-200 p-4 dark:border-gray-700; -} .section-container { @apply mx-auto w-full max-w-7xl p-4; } diff --git a/frontend/src/lib/components/datatables/xmr/CountryCellWithAsn.svelte b/frontend/src/lib/components/datatables/xmr/CountryCellWithAsn.svelte index b7bffde..54e324c 100644 --- a/frontend/src/lib/components/datatables/xmr/CountryCellWithAsn.svelte +++ b/frontend/src/lib/components/datatables/xmr/CountryCellWithAsn.svelte @@ -22,9 +22,13 @@ {/if} {#if asn !== 0} -
AS{asn} ({asn_name}) +
AS{asn} + ({asn_name}) {/if}