From c115dbc8650e3e7ff7a10009d8fd13491308ce55 Mon Sep 17 00:00:00 2001 From: Patrick Hatsune Date: Mon, 30 Sep 2024 10:28:17 -0700 Subject: [PATCH] Made device columns and rows prettier --- src/components/dashboard/DeviceList.vue | 8 +++++++- src/styles/basicDashboard.css | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/components/dashboard/DeviceList.vue b/src/components/dashboard/DeviceList.vue index 91fc08a..1375e2b 100755 --- a/src/components/dashboard/DeviceList.vue +++ b/src/components/dashboard/DeviceList.vue @@ -26,6 +26,12 @@

{{ section.title }}

+
+

Device Name

+

IP Address

+

MAC Address

+
+

{{ device.name }}

@@ -33,7 +39,7 @@

{{ device.mac }}

-

No devices connected!

+

No devices found!

diff --git a/src/styles/basicDashboard.css b/src/styles/basicDashboard.css index 3c7ba6e..bfa30bc 100644 --- a/src/styles/basicDashboard.css +++ b/src/styles/basicDashboard.css @@ -219,4 +219,17 @@ flex-direction: column; gap: 10px; } + #deviceKey, #device { + display: flex; + justify-content: space-between; + width: 100%; + padding: 5px; + p { + flex: 1; + text-align: center; + } + } + #noDevicesFound { + text-align: center; + } } \ No newline at end of file