Skip to content

Commit

Permalink
fix(*): nits
Browse files Browse the repository at this point in the history
  • Loading branch information
aanchalm01 committed Sep 25, 2024
1 parent 2fcbd62 commit d2010b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/KTable/ColumnVisibilityMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
>
<KButton
appearance="tertiary"
aria-label="Clear search"
class="clear-search"
data-testid="clear-search-button"
icon
Expand Down Expand Up @@ -99,7 +100,8 @@
</template>

<script setup lang="ts">
import { ref, watch, onBeforeMount, onMounted, type PropType, nextTick, computed } from 'vue'
import { ref, watch, onBeforeMount, onMounted, nextTick, computed } from 'vue'
import type { PropType } from 'vue'
import type { TableHeader } from '@/types'
import { debounce } from '@/utilities/debounce'
import { SearchIcon, CloseIcon, TableColumnsIcon } from '@kong/icons'
Expand Down Expand Up @@ -268,6 +270,7 @@ onBeforeMount(() => {
:deep(.k-input).search-input {
padding: $kui-space-10 $kui-space-30 $kui-space-30 $kui-space-30;
::-webkit-search-cancel-button {
/* hide the default "X" button */
-webkit-appearance: none;
Expand Down

0 comments on commit d2010b7

Please sign in to comment.