From f2a97af3f5653cfa3b63a292205bc3c80b707ad6 Mon Sep 17 00:00:00 2001 From: ro Date: Mon, 25 Mar 2024 13:36:58 -0600 Subject: [PATCH] role removed from navigation edit ui improperly used role attributes have been removed from navigation edit template there was also a duplicate class attribute error in notifications that has been fixed --- public/assets/css/dash/navigation.css | 14 +++++++------- resources/views/back/navigation.blade.php | 2 +- resources/views/includes/notifications.blade.php | 9 ++++----- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/public/assets/css/dash/navigation.css b/public/assets/css/dash/navigation.css index d256d68..de426fc 100644 --- a/public/assets/css/dash/navigation.css +++ b/public/assets/css/dash/navigation.css @@ -1,10 +1,10 @@ -article[role="navigation"] { +article.navigation { width: 100%; max-width: 900px; margin: 100px auto; } -article[role="navigation"] > section > div.nav-item { +article.navigation > section > div.nav-item { display: block; width: 98%; background: var(--secondary); @@ -15,7 +15,7 @@ article[role="navigation"] > section > div.nav-item { cursor: move; } -article[role="navigation"] > section > div.nav-item > label { +article.navigation > section > div.nav-item > label { display: inline-block; padding: 5px; margin: 12px 0 0 10px; @@ -23,24 +23,24 @@ article[role="navigation"] > section > div.nav-item > label { cursor: move; } -article[role="navigation"] > section > div.nav-item > div#nav-btns { +article.navigation > section > div.nav-item > div#nav-btns { float: right; padding: 5px; position: relative; } -article[role="navigation"] > section > div.nav-item > div#nav-btns button { +article.navigation > section > div.nav-item > div#nav-btns button { margin-left: 5px; } @media only screen and (max-width: 500px) { - article[role="navigation"] > section > div.nav-item > label { + article.navigation > section > div.nav-item > label { width: 55%; margin: 0; font-size: 0.8em; } - article[role="navigation"] > section i { + article.navigation > section i { font-size: 1.5em; } } diff --git a/resources/views/back/navigation.blade.php b/resources/views/back/navigation.blade.php index 0ed4a87..c48e498 100644 --- a/resources/views/back/navigation.blade.php +++ b/resources/views/back/navigation.blade.php @@ -3,7 +3,7 @@ @section('title', 'The Dash | Edit Navigation') @section('main-content') -
+