From e54967db5064c0690bd74eff98a281adb53692cf Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 26 Oct 2024 20:54:50 +0800 Subject: [PATCH] feat(ui): add captions to grid --- ui/index.html | 79 ++++++++++++++++++++++++++++++++++++++---------- ui/src/style.css | 6 ++++ 2 files changed, 69 insertions(+), 16 deletions(-) diff --git a/ui/index.html b/ui/index.html index 8e53fae..5725455 100644 --- a/ui/index.html +++ b/ui/index.html @@ -28,29 +28,76 @@ -
+

Ny4 IP checker!

-
-
-
ip.ny4.dev
-
Loading...
-
Loading...
+
+ +
-
ip.sb
-
Loading...
-
Loading...
+
+
Source
+

ip.ny4.dev

+
+
+
IP
+

Loading...

+
+
+
Location
+

Loading...

+
+
-
ipapi.is
-
Loading...
-
Loading...
+
+
Source
+

ip.sb

+
+
+
IP
+

Loading...

+
+
+
Location
+

Loading...

+
+
-
ip-api.com
-
Loading...
-
- Loading... +
+
Source
+

ipapi.is

+
+
+
IP
+

Loading...

+
+
+
Location
+

Loading...

+
+
+ +
+
+
Source
+

ip-api.com

+
+
+
IP
+

Loading...

+
+
+
Location
+

Loading...

diff --git a/ui/src/style.css b/ui/src/style.css index b5c61c9..f10276b 100644 --- a/ui/src/style.css +++ b/ui/src/style.css @@ -1,3 +1,9 @@ @tailwind base; @tailwind components; @tailwind utilities; + +@layer components { + .table-caption { + @apply md:hidden text-xs text-gray-500 uppercase dark:text-neutral-400; + } +}