Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add a transparent border to filter button (#677)
Olga Bulat7ac328271e65
diff --git a/src/components/VButton.vue b/src/components/VButton.vueindex 698f89cbf..3ab26faa9 100644--- a/src/components/VButton.vue+++ b/src/components/VButton.vue@@ -269,7 +269,7 @@ a.button {}.secondary-pressed {- @apply bg-dark-charcoal-80 hover:border-tx;+ @apply bg-dark-charcoal-80 border border-tx hover:border-tx;}.tertiary {@@ -301,7 +301,7 @@ a.button {}.action-menu-muted-pressed {- @apply border-tx bg-dark-charcoal text-white focus-visible:ring-pink;+ @apply border border-tx bg-dark-charcoal text-white focus-visible:ring-pink;}.grouped {diff --git a/src/components/VHeader/VFilterButton.vue b/src/components/VHeader/VFilterButton.vueindex 2c7c8eceb..61ad17925 100644--- a/src/components/VHeader/VFilterButton.vue+++ b/src/components/VHeader/VFilterButton.vue@@ -42,8 +42,8 @@ const VFilterButton = defineComponent({setup(props, { emit }) {const { i18n, store } = useContext()const { pressed } = toRefs(props)- const isMinScreenMd = inject('isMinScreenMd')- const isHeaderScrolled = inject('isHeaderScrolled')+ const isMinScreenMd = inject('isMinScreenMd', false)+ const isHeaderScrolled = inject('isHeaderScrolled', false)const filterCount = computed(() => store.getters['search/appliedFilterTags'].length)