chore(ui): use divide instead of border-bottom

This commit is contained in:
Guanran Wang 2024-10-26 20:05:00 +08:00
parent 1548f284ac
commit 53dc329dec
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -30,24 +30,18 @@
>
<div class="flex flex-col min-h-screen justify-center items-center">
<p class="py-2">Ny4 IP checker!</p>
<div>
<div
class="grid grid-cols-2 md:grid-cols-4 gap-2 p-2 border-b border-violet-300 dark:border-slate-700"
>
<div class="divide-y divide-violet-300 dark:divide-slate-700">
<div class="grid grid-cols-2 md:grid-cols-4 gap-2 p-2">
<div>ip.ny4.dev</div>
<div id="check-ny4-ip">Loading...</div>
<div id="check-ny4-location" class="col-span-2">Loading...</div>
</div>
<div
class="grid grid-cols-2 md:grid-cols-4 gap-2 p-2 border-b border-violet-300 dark:border-slate-700"
>
<div class="grid grid-cols-2 md:grid-cols-4 gap-2 p-2">
<div>ip.sb</div>
<div id="check-ipsb-ip">Loading...</div>
<div id="check-ipsb-location" class="col-span-2">Loading...</div>
</div>
<div
class="grid grid-cols-2 md:grid-cols-4 gap-2 p-2 border-b border-violet-300 dark:border-slate-700"
>
<div class="grid grid-cols-2 md:grid-cols-4 gap-2 p-2">
<div>ipapi.is</div>
<div id="check-ipapiis-ip">Loading...</div>
<div id="check-ipapiis-location" class="col-span-2">Loading...</div>