Browse Source

fix(nc-gui): remove console

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

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

@ -94,7 +94,7 @@ useMenuCloseOnEsc(open)
</div> </div>
<template #overlay> <template #overlay>
<div <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" data-testid="nc-height-menu"
> >
<div class="flex flex-col w-full text-sm" @click.stop> <div class="flex flex-col w-full text-sm" @click.stop>

Loading…
Cancel
Save