diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-01-06 03:57:20 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-01-06 03:57:20 -0500 |
commit | c6dbf690eba82b9f3b20706697bc633823afdd26 (patch) | |
tree | 821e9c3e836241af546dc28916acede8e1131b7c /app | |
parent | d4f2aae4c311b945576f64929ee4f47641932f87 (diff) | |
download | thedroneely.com-c6dbf690eba82b9f3b20706697bc633823afdd26.tar.gz thedroneely.com-c6dbf690eba82b9f3b20706697bc633823afdd26.tar.bz2 thedroneely.com-c6dbf690eba82b9f3b20706697bc633823afdd26.zip |
public/js/app: Rework navigator logic
Cleanup JavaScript
Diffstat (limited to 'app')
-rw-r--r-- | app/views/components/context-menu.php | 10 | ||||
-rw-r--r-- | app/views/partials/navigator.php | 2 |
2 files changed, 3 insertions, 9 deletions
diff --git a/app/views/components/context-menu.php b/app/views/components/context-menu.php index a33cbb7..882bb60 100644 --- a/app/views/components/context-menu.php +++ b/app/views/components/context-menu.php @@ -1,11 +1,11 @@ <div class="dropdown <?php echo $type ?? null ?>"> <input - class="is-hidden input-dropdown" + class="is-hidden dropdown-input" type="checkbox" id="dropdown-menu__<?php echo $id ?? null ?>" /> - <label for="dropdown-menu__<?php echo $id ?? null ?>"> + <label class="dropdown-label" for="dropdown-menu__<?php echo $id ?? null ?>"> <?php echo $label ?? null ?> </label> @@ -23,9 +23,3 @@ </div> </div> </div> - -<style> - .input-dropdown[type="checkbox"]:checked ~ .dropdown-menu { - display: block; - } -</style> diff --git a/app/views/partials/navigator.php b/app/views/partials/navigator.php index 3305834..0f1937c 100644 --- a/app/views/partials/navigator.php +++ b/app/views/partials/navigator.php @@ -37,7 +37,7 @@ </div> </a> - <div class="navbar-burger navbar-item navbar__icon has-text-dark"> + <div class="navbar-burger navbar-item navbar__icon has-text-dark has-tap-transparent"> <?php $id = 'mobile-compact'; $type = 'is-cover is-right'; |