Browse Source

feat(nc-gui): revise column filter style

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
cd850e6a55
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue

4
packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue

@ -161,7 +161,7 @@ defineExpose({
<template>
<div
class="p-4 menu-filter-dropdown bg-gray-50 !border mt-4"
:class="{ 'shadow min-w-[430px] max-w-[630px] max-h-[max(80vh,500px)] overflow-auto': !nested, 'border-1 w-full': nested }"
:class="{ 'shadow min-w-[430px] max-h-[max(80vh,500px)] overflow-auto': !nested, 'border-1 w-full': nested }"
>
<div v-if="filters && filters.length" class="nc-filter-grid mb-2" @click.stop>
<template v-for="(filter, i) in filters" :key="i">
@ -317,7 +317,7 @@ defineExpose({
<style scoped>
.nc-filter-grid {
grid-template-columns: 18px 83px 160px auto auto;
grid-template-columns: auto auto auto auto auto;
@apply grid gap-[12px] items-center;
}

Loading…
Cancel
Save