mirror of
https://github.com/shareAI-lab/learn-claude-code.git
synced 2026-08-12 18:03:39 +00:00
Merge f2461d79da into a9cafe953a
This commit is contained in:
commit
21fd546676
1 changed files with 3 additions and 3 deletions
|
|
@ -21,11 +21,11 @@ export function Sidebar() {
|
|||
const tLayer = useTranslations("layer_labels");
|
||||
|
||||
return (
|
||||
<nav className="hidden w-56 shrink-0 md:block">
|
||||
<div className="sticky top-[calc(3.5rem+2rem)] space-y-5">
|
||||
<nav className="hidden w-72 shrink-0 md:block">
|
||||
<div className="sticky top-[calc(3.5rem+2rem)] max-h-[calc(100vh-6rem)] space-y-6 overflow-y-auto pr-2">
|
||||
{LAYERS.map((layer) => (
|
||||
<div key={layer.id}>
|
||||
<div className="flex items-center gap-1.5 pb-1.5">
|
||||
<div className="flex items-center gap-1.5 pb-2">
|
||||
<span className={cn("h-2 w-2 rounded-full", LAYER_DOT_BG[layer.id])} />
|
||||
<span className="text-[11px] font-semibold uppercase tracking-wider text-zinc-400 dark:text-zinc-500">
|
||||
{tLayer(layer.id)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue