Chore: Fixes icon size in button (#3555)

* Chore: Fixes icon size in button

* Changes normal button to woot button
This commit is contained in:
Nithin David Thomas
2021-12-14 17:37:25 +05:30
committed by GitHub
parent ac372f188d
commit c2191e48b1
14 changed files with 87 additions and 71 deletions

View File

@@ -13,9 +13,9 @@ l<template>
/>
<woot-button
v-else
size="small"
variant="clear"
color-scheme="danger"
class="btn-clear-filters"
color-scheme="alert"
@click="resetAndFetchData"
>
{{ $t('FILTER.CLEAR_BUTTON_LABEL') }}
@@ -24,10 +24,11 @@ l<template>
v-tooltip.top-end="$t('FILTER.TOOLTIP_LABEL')"
variant="clear"
color-scheme="secondary"
icon="filter"
size="small"
class="btn-filter"
@click="onToggleAdvanceFiltersModal"
>
<fluent-icon icon="filter" />
</woot-button>
</div>
</div>
@@ -405,16 +406,10 @@ export default {
.filter--actions {
display: flex;
align-items: center;
.btn-filter {
cursor: pointer;
i {
font-size: var(--font-size-two);
}
}
.btn-clear-filters {
color: var(--r-500);
cursor: pointer;
}
}
.btn-filter {
margin: 0 var(--space-smaller);
}
.filter__applied {