Browse Source

chore(nc-gui): change attachment cell styles in survey form

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
bf52650a09
  1. 23
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue

23
packages/nc-gui/pages/[projectType]/form/[viewId]/index/survey.vue

@ -62,15 +62,6 @@ useEventListener('wheel', (event) => {
goNext()
}
})
useEventListener(
'touchmove',
(e) => {
e.preventDefault()
console.log('touchmove')
},
{ passive: false },
)
</script>
<template>
@ -157,6 +148,18 @@ useEventListener(
}
:deep(.nc-cell-attachment) {
@apply h-1/3 min-h-[100px];
@apply p-0;
.nc-attachment-cell {
@apply px-4 h-1/3 min-h-[100px];
.nc-attachment {
@apply md:(w-[50px] h-[50px]) lg:(w-[75px] h-[75px]) min-h-[50px] min-w-[50px];
}
.nc-attachment-cell-dropzone {
@apply rounded bg-gray-400/75;
}
}
}
</style>

Loading…
Cancel
Save