Browse Source

fix(nc-gui): remove console

pull/8188/head
Ramesh Mane 3 months ago
parent
commit
ee0b0bc79a
  1. 12
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

12
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -306,7 +306,6 @@ const fieldsMenuSearchRef = ref<HTMLInputElement>()
watch(open, (value) => {
if (value) {
console.log('value', fieldsMenuSearchRef.value)
setTimeout(() => {
fieldsMenuSearchRef.value?.focus()
}, 100)
@ -528,23 +527,16 @@ useMenuCloseOnEsc(open)
</template>
<style lang="scss" scoped>
// :deep(.ant-checkbox-inner) {
// @apply transform scale-60;
// }
// :deep(.ant-checkbox) {
// @apply top-auto;
// }
:deep(.xxsmall) {
@apply !min-w-0;
}
.nc-fields-menu-search-field {
.nc-search-icon {
@apply text-gray-500;
@apply text-gray-400;
}
&:hover .nc-search-icon,
&.ant-input-affix-wrapper-focused .nc-search-icon {
@apply text-gray-800;
}

2
packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

@ -94,7 +94,7 @@ useMenuCloseOnEsc(open)
</div>
<template #overlay>
<div
class="w-full bg-white shadow-lg p-1.5 menu-filter-dropdown border-1 border-gray-200 rounded-md overflow-hidden w-[160px]"
class="w-full bg-white shadow-lg p-1.5 menu-filter-dropdown border-1 border-gray-200 rounded-lg overflow-hidden w-[160px]"
data-testid="nc-height-menu"
>
<div class="flex flex-col w-full text-sm" @click.stop>

Loading…
Cancel
Save