Move print labels to (print) layout group to fix blank output

The (app) layout's flex h-screen + overflow-hidden container was
clipping label content in the print renderer. Print routes now use
a dedicated (print) layout group with no sidebar/header/flex shell,
just the raw label HTML. Routes changed to /print/device/[id] and
/print/component/[id].

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 11:45:59 +07:00
parent b33966b26e
commit 4e05910cd3
11 changed files with 202 additions and 208 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"permissions": {
"allow": [
"Read(//c/Users/berwn/.claude/**)",
"Read(//c/Users/berwn/**)",
"Read(//c/dev/b4l_r4l/**)",
"mcp__nocodb__getBaseInfo",
"mcp__nocodb__getTablesList",
"mcp__nocodb__getTableSchema",
"Bash(xargs -I {} head -30 {})",
"Bash(xargs head:*)",
"Bash(npm install:*)",
"Bash(npx svelte-check:*)",
"Bash(npx drizzle-kit:*)",
"Bash(npx svelte-kit:*)",
"Bash(git init:*)",
"Bash(git status:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git:*)",
"mcp__nixos__nix",
"Bash(npm run:*)",
"Bash(ls /c/dev/b4l_r4l/node_modules/bwip-js/dist/*.d.ts)"
]
}
}