Browse Source

chore(gui-v2): hide leftmost sidebar

pull/3023/head
braks 2 years ago
parent
commit
ba62993308
  1. 4
      packages/nc-gui-v2/app.vue

4
packages/nc-gui-v2/app.vue

@ -31,7 +31,7 @@ const logout = () => {
<template> <template>
<a-layout> <a-layout>
<a-layout-sider <a-layout-sider
:collapsed="!isOpen" :collapsed="true"
width="50" width="50"
collapsed-width="0" collapsed-width="0"
class="nc-sidebar-left !bg-primary h-full" class="nc-sidebar-left !bg-primary h-full"
@ -71,7 +71,7 @@ const logout = () => {
</a-dropdown> </a-dropdown>
<div id="sidebar" ref="sidebar" class="text-white flex-auto flex flex-col items-center w-full"> <div id="sidebar" ref="sidebar" class="text-white flex-auto flex flex-col items-center w-full">
<a-dropdown placement="right"> <a-dropdown :trigger="['contextmenu']" placement="right">
<div :class="[route.name === 'index' ? 'active' : '']" class="nc-sidebar-left-item" @click="navigateTo('/')"> <div :class="[route.name === 'index' ? 'active' : '']" class="nc-sidebar-left-item" @click="navigateTo('/')">
<MdiFolder class="cursor-pointer transform hover:scale-105 text-2xl" /> <MdiFolder class="cursor-pointer transform hover:scale-105 text-2xl" />
</div> </div>

Loading…
Cancel
Save