260825_01_ENH: 차트 문항별 색상지정 및 차트 하이라이트 모드 적용, 문항별 제목과 범례 사이에 문항 텍스트 삽입, gap 추가

This commit is contained in:
2026-08-25 14:48:49 +09:00
parent 1d20055f7d
commit 75385bd452
5 changed files with 220 additions and 39 deletions

View File

@@ -36,7 +36,7 @@ export function KriSidebar({
<aside
className={cn(
'fixed top-20 left-0 z-30 flex h-[calc(100vh-5rem)] flex-col overflow-hidden border-r bg-background transition-all duration-300 lg:static lg:top-0 lg:h-full lg:translate-x-0',
isOpen ? 'w-80 translate-x-0' : 'w-80 -translate-x-full lg:w-0 lg:border-r-0',
isOpen ? 'w-130 translate-x-0' : 'w-130 -translate-x-full lg:w-0 lg:border-r-0',
className,
)}
>
@@ -56,7 +56,7 @@ export function KriSidebar({
type="button"
variant={active ? 'secondary' : 'ghost'}
className={cn(
'h-auto w-full justify-start rounded-md py-2 text-left whitespace-normal break-keep break-words',
'h-auto w-full justify-start rounded-md py-2 text-left whitespace-normal break-keep wrap-break-words',
active &&
'border-l-2 border-primary bg-primary/10 text-primary font-medium hover:bg-primary/15 hover:text-primary',
)}