From 2ae9bbf0e9abe33c297ee0810f211b71d3b0a515 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 20 Feb 2024 07:16:19 +0000 Subject: [PATCH] fix(nc-gui): scrollbar mac issue --- .../calendar/WeekView/DateTimeField.vue | 5 +++-- packages/nc-gui/utils/browserUtils.ts | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue index 08c41ada1a..49f48ff065 100644 --- a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue +++ b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue @@ -3,7 +3,7 @@ import dayjs from 'dayjs' import { UITypes, isVirtualCol } from 'nocodb-sdk' import type { Row } from '~/lib' import { computed, ref } from '#imports' -import { generateRandomNumber, isRowEmpty } from '~/utils' +import { generateRandomNumber, getScrollbarWidth, isRowEmpty } from '~/utils' const emits = defineEmits(['expandRecord']) @@ -725,12 +725,13 @@ const viewMore = (hour: dayjs.Dayjs) => {