aboutsummaryrefslogtreecommitdiff
path: root/app/views/components
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-01-06 03:57:20 -0500
committerThedro Neely <thedroneely@gmail.com>2020-01-06 03:57:20 -0500
commitc6dbf690eba82b9f3b20706697bc633823afdd26 (patch)
tree821e9c3e836241af546dc28916acede8e1131b7c /app/views/components
parentd4f2aae4c311b945576f64929ee4f47641932f87 (diff)
downloadthedroneely.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/views/components')
-rw-r--r--app/views/components/context-menu.php10
1 files changed, 2 insertions, 8 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>