Browse Source

feat(nc-gui): response right sidebar width

pull/3669/head
braks 2 years ago committed by Raju Udava
parent
commit
f2383dca60
  1. 5
      packages/nc-gui/components/smartsheet/sidebar/index.vue

5
packages/nc-gui/components/smartsheet/sidebar/index.vue

@ -108,14 +108,15 @@ async function onCreate(view: ViewType) {
:collapsed="sidebarCollapsed" :collapsed="sidebarCollapsed"
collapsiple collapsiple
collapsed-width="0" collapsed-width="0"
width="250" width="0"
class="relative shadow-md h-full" class="relative shadow h-full w-full !flex-1 !min-w-0 !max-w-[150px] !w-[150px] lg:(!max-w-[250px] !w-[250px])"
theme="light" theme="light"
> >
<LazySmartsheetSidebarToolbar <LazySmartsheetSidebarToolbar
v-if="isOpen" v-if="isOpen"
class="min-h-[var(--toolbar-height)] max-h-[var(--toolbar-height)] flex items-center py-3 px-3 justify-between border-b-1" class="min-h-[var(--toolbar-height)] max-h-[var(--toolbar-height)] flex items-center py-3 px-3 justify-between border-b-1"
/> />
<div v-if="isOpen" class="flex-1 flex flex-col min-h-0"> <div v-if="isOpen" class="flex-1 flex flex-col min-h-0">
<LazySmartsheetSidebarMenuTop @open-modal="openModal" @deleted="loadViews" /> <LazySmartsheetSidebarMenuTop @open-modal="openModal" @deleted="loadViews" />

Loading…
Cancel
Save