Browse Source

chore(gui-v2): fix icon position when collapsed

pull/3023/head
braks 2 years ago
parent
commit
17eeecaf9f
  1. 4
      packages/nc-gui-v2/pages/nc/[projectId]/index.vue

4
packages/nc-gui-v2/pages/nc/[projectId]/index.vue

@ -59,9 +59,9 @@ await loadTables()
<a-dropdown :trigger="['click']"> <a-dropdown :trigger="['click']">
<div <div
style="width: calc(100% - 40px)" :style="{ width: isOpen ? 'calc(100% - 40px) pr-2' : '100%' }"
:class="[isOpen ? '' : 'justify-center']" :class="[isOpen ? '' : 'justify-center']"
class="group cursor-pointer pr-2 flex gap-4 items-center" class="group cursor-pointer flex gap-4 items-center"
> >
<template v-if="isOpen"> <template v-if="isOpen">
<div class="text-xl font-semibold truncate">{{ project.title }}</div> <div class="text-xl font-semibold truncate">{{ project.title }}</div>

Loading…
Cancel
Save