fix(sidebar): improve admin URL routing, reduce font size/weight in sidebar nodes

This commit is contained in:
Ramesh Mane
2026-03-04 14:42:34 +00:00
parent f3cd2f72b9
commit 18f7b7bf1b
4 changed files with 25 additions and 8 deletions

View File

@@ -287,7 +287,7 @@ watch(isDropdownOpen, async () => {
<template>
<div
class="nc-sidebar-node !min-h-7 !max-h-7 !my-0.5 select-none group text-nc-content-gray-subtle !flex !items-center hover:(!bg-nc-bg-gray-medium !text-nc-content-gray-subtle) cursor-pointer"
class="nc-sidebar-node !min-h-7 !max-h-7 !my-0.5 select-none group text-nc-content-gray-subtle text-[13px] !flex !items-center hover:(!bg-nc-bg-gray-medium !text-nc-content-gray-subtle) cursor-pointer"
:class="{
'!pl-7.5 !xs:(pl-6.5)': isDefaultBaseLocal && !isInSection,
'!pl-14': !isDefaultBaseLocal && !isInSection,
@@ -366,7 +366,7 @@ watch(isDropdownOpen, async () => {
v-model:value="_title"
class="!bg-transparent !pr-1.5 !flex-1 mr-4 !rounded-md !h-6 animate-sidebar-node-input-padding"
:class="{
'!font-semibold !text-nc-content-brand-disabled': activeView?.id === vModel.id,
'!font-medium !text-nc-content-brand-disabled': activeView?.id === vModel.id,
}"
:style="{
fontWeight: 'inherit',
@@ -387,7 +387,7 @@ watch(isDropdownOpen, async () => {
<div
data-testid="sidebar-view-title"
:class="{
'font-semibold text-nc-content-brand-disabled': activeView?.id === vModel.id,
'font-medium text-nc-content-brand-disabled': activeView?.id === vModel.id,
}"
:style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"
@dblclick.stop="onDblClick"