π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): on click table item of sidebar dont apply gray bg color
Ramesh Mane0d5bd3e91807
diff --git a/packages/nc-gui/components/dashboard/Sidebar.vue b/packages/nc-gui/components/dashboard/Sidebar.vueindex 53daff8492..4727b0dbd7 100644--- a/packages/nc-gui/components/dashboard/Sidebar.vue+++ b/packages/nc-gui/components/dashboard/Sidebar.vue@@ -35,7 +35,7 @@ onUnmounted(() => {<template><div- class="nc-sidebar flex flex-col bg-nc-bg-gray-extralight outline-r-1 outline-nc-border-gray-light select-none w-full h-full font-medium z-2"+ class="nc-sidebar flex flex-col bg-nc-bg-gray-sidebar outline-r-1 outline-nc-border-gray-light select-none w-full h-full font-medium z-2":style="{outlineWidth: '1px',}"diff --git a/packages/nc-gui/components/dashboard/TreeView/Table/Node.vue b/packages/nc-gui/components/dashboard/TreeView/Table/Node.vueindex 2e86a1e26e..bbeb92fcaf 100644--- a/packages/nc-gui/components/dashboard/TreeView/Table/Node.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Table/Node.vue@@ -436,7 +436,7 @@ async function onRename() {<template><div- class="nc-tree-item nc-table-node-wrapper text-sm select-none w-full"+ class="nc-tree-item nc-table-node-wrapper text-sm select-none w-full bg-inherit":data-order="table.order":data-id="table.id":data-table-id="table.id"@@ -446,7 +446,7 @@ async function onRename() {<div class="flex items-center py-0.5"><divv-e="['a:table:open']"- class="flex-none flex-1 table-context flex items-center gap-1 h-full nc-tree-item-inner nc-sidebar-node pr-0.75 mb-0.25 rounded-md h-7 w-full group cursor-pointer"+ class="flex-none flex-1 table-context flex items-center gap-1 h-full nc-tree-item-inner nc-sidebar-node pr-0.75 mb-0.25 rounded-md h-7 w-full group cursor-pointer hover:bg-nc-bg-gray-medium":class="{'hover:bg-nc-bg-gray-medium': openedTableId !== table.id,'pl-8 !xs:(pl-7)': sourceIndex !== 0,diff --git a/packages/nc-gui/components/dashboard/TreeView/Views/List.vue b/packages/nc-gui/components/dashboard/TreeView/Views/List.vueindex a50b3d9779..e6bce20d4a 100644--- a/packages/nc-gui/components/dashboard/TreeView/Views/List.vue+++ b/packages/nc-gui/components/dashboard/TreeView/Views/List.vue@@ -388,7 +388,7 @@ const filteredViews = computed(() => {ref="menuRef":class="{ dragging }":selected-keys="selected"- class="nc-views-menu flex flex-col w-full !border-r-0 !bg-nc-bg-gray-extralight"+ class="nc-views-menu flex flex-col w-full !border-r-0 !bg-inherit"><template v-if="!isSharedBase"><DashboardTreeViewCreateViewBtndiff --git a/packages/nc-gui/utils/colorsUtils.ts b/packages/nc-gui/utils/colorsUtils.tsindex b837550e0e..e3038e3246 100644--- a/packages/nc-gui/utils/colorsUtils.ts+++ b/packages/nc-gui/utils/colorsUtils.ts@@ -652,6 +652,7 @@ export const themeVariables = {'nc-bg-brand': themeV4Colors.brand[50],'nc-bg-gray': {extralight: themeV4Colors.gray[50],+ sidebar: themeV4Colors.gray[50],light: themeV4Colors.gray[100],medium: themeV4Colors.gray[200],dark: themeV4Colors.gray[300],