fix(ui): Postcss not working for Country cell

For some unknown reason, using postcss class is not working anymore
This commit is contained in:
Cristian Ditaputratama 2024-10-28 21:01:58 +07:00
parent 7cc2b1035f
commit a963963b72
Signed by: ditatompel
GPG key ID: 31D3D06D77950979

View file

@ -18,22 +18,16 @@
{#if asn !== 0} {#if asn !== 0}
<br /><a <br /><a
class="external asn" class="external !text-purple-800 dark:!text-purple-400"
href="https://www.ditatompel.com/asn/{asn}" href="https://www.ditatompel.com/asn/{asn}"
target="_blank" target="_blank"
rel="noopener">AS{asn}</a rel="noopener">AS{asn}</a
> >
(<span class="asn-name">{asn_name}</span>) (<span class="font-semibold text-green-800 dark:text-green-500">{asn_name}</span>)
{/if} {/if}
<style lang="postcss"> <style lang="postcss">
a { a {
@apply font-semibold text-sky-800 underline dark:text-sky-500; @apply font-semibold text-sky-800 underline dark:text-sky-500;
} }
a.asn {
@apply !text-purple-800 dark:!text-purple-400;
}
span.asn-name {
@apply font-semibold text-green-800 dark:text-green-500;
}
</style> </style>