From 9903423cafcaaa3580440d5f1bd954a6b8e789c7 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Wed, 27 May 2020 03:04:18 +0200 Subject: [PATCH] Added tag filters to all URLs. Improved tag filter styling. --- assets/components/header/filter-bar.vue | 20 ++---- assets/components/header/filters.vue | 85 +++++++++++++++++-------- assets/js/router.js | 34 +++++++--- 3 files changed, 91 insertions(+), 48 deletions(-) diff --git a/assets/components/header/filter-bar.vue b/assets/components/header/filter-bar.vue index 0edf44a6..95bc821c 100644 --- a/assets/components/header/filter-bar.vue +++ b/assets/components/header/filter-bar.vue @@ -26,15 +26,11 @@ /> - - - - - + @@ -148,10 +144,6 @@ export default { margin: 0 0 -1px 0; } -.filters-container { - display: inline-block; -} - .filters-block { display: inline-block; } @@ -166,7 +158,7 @@ export default { .range-button { color: var(--shadow); display: inline-block; - padding: .75rem 1rem; + padding: .75rem 1rem 1rem 1rem; border: none; font-size: .8rem; font-weight: bold; diff --git a/assets/components/header/filters.vue b/assets/components/header/filters.vue index 1308482e..8a46e764 100644 --- a/assets/components/header/filters.vue +++ b/assets/components/header/filters.vue @@ -1,6 +1,18 @@