From 3b2587bed39e7684e1d57799d4d13c693c15a921 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Tue, 26 Sep 2023 15:25:06 +0000 Subject: [PATCH] fix: Improved expanded form UI for mobile --- packages/nc-gui/assets/style.scss | 8 + packages/nc-gui/components/nc/MenuItem.vue | 2 +- packages/nc-gui/components/nc/Modal.vue | 10 + .../smartsheet/expanded-form/index.vue | 203 ++++++++++++------ 4 files changed, 156 insertions(+), 67 deletions(-) diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index 9274841607..c81d850d09 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -53,6 +53,14 @@ main { @apply !rounded-lg !py-2 !px-3 mb-1; } +.mobile { + .nc-scrollbar-md, nc-scrollbar-dark-md, nc-scrollbar-dark-md, nc-scrollbar-sm-dark, nc-scrollbar-x-md { + &::-webkit-scrollbar { + width: 0px; + } + } +} + .nc-scrollbar-md { overflow-y: scroll; overflow-x: hidden; diff --git a/packages/nc-gui/components/nc/MenuItem.vue b/packages/nc-gui/components/nc/MenuItem.vue index c5fd6d888a..a63dd7f703 100644 --- a/packages/nc-gui/components/nc/MenuItem.vue +++ b/packages/nc-gui/components/nc/MenuItem.vue @@ -8,7 +8,7 @@