Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/66 layout filter button #67

Merged
merged 7 commits into from
Aug 4, 2023
14 changes: 10 additions & 4 deletions src/components/dumb/FilterInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
<div v-if="!!filters.length" class="vl-grid filters-selected">
<span data-cy="filters-label" class="vl-col--1-12 vl-col--2-12--l vl-col--12-12--xs">Filters:</span>
<vl-action-group class="vl-col--10-12 vl-col--9-12--l vl-col--12-12--xs">
<vl-pill
<button
data-cy="clear-filter-button"
class="vl-u-spacer-left--xsmall vl-u-spacer-bottom--xsmall"
mod-clickable
class="vl-button vl-u-spacer-left--xsmall vl-u-spacer-bottom--xsmall vl-u-text--small"
@click="filters = []"
>Alle filters wissen</vl-pill
>
Alle filters wissen
</button>
<vl-pill
v-for="filter in filters"
:key="filter.key"
Expand Down Expand Up @@ -139,6 +139,12 @@ const removeFilter = (filter: IFilter) =>
cursor: pointer;
margin-right: 0.5rem;
}
.vl-button {
min-height: revert;
padding: 0.4rem 1.4rem;
margin-right: 0.5rem;
}
}
}
</style>