Browse Source

fix: Minor sidebar style fixed

pull/6444/head
Muhammed Mustafa 12 months ago
parent
commit
2b39b9746d
  1. 7
      packages/nc-gui/components/dashboard/TreeView/TableNode.vue
  2. 2
      packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

7
packages/nc-gui/components/dashboard/TreeView/TableNode.vue

@ -217,14 +217,11 @@ const isTableOpened = computed(() => {
(isUIAllowed('tableRename', { roles: projectRole }) || isUIAllowed('tableDelete', { roles: projectRole }))
"
:trigger="['click']"
class="nc-sidebar-node-btn"
@click.stop
>
<MdiDotsHorizontal
class="min-w-5.75 min-h-5.75 mt-0.2 mr-0.25 px-0.5 transition-opacity opacity-0 group-hover:opacity-100 nc-tbl-context-menu outline-0 rounded-md hover:(bg-gray-500 bg-opacity-15 !text-black)"
:class="{
'!text-gray-600': openedTableId !== table.id,
'!text-black': openedTableId === table.id,
}"
class="min-w-5.75 min-h-5.75 mt-0.2 mr-0.25 px-0.5 !text-gray-600 transition-opacity opacity-0 group-hover:opacity-100 nc-tbl-context-menu outline-0 rounded-md hover:(bg-gray-500 bg-opacity-15 !text-black)"
/>
<template #overlay>

2
packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

@ -283,7 +283,7 @@ function onRef(el: HTMLElement) {
<NcMenu class="min-w-27" :data-testid="`view-sidebar-view-actions-${vModel.alias || vModel.title}`">
<NcMenuItem @click.stop="onDblClick">
<GeneralIcon icon="edit" />
Rename
<div class="-ml-0.25">Rename</div>
</NcMenuItem>
<NcMenuItem @click.stop="onDuplicate">
<GeneralIcon icon="copy" />

Loading…
Cancel
Save