Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
fix problems tab badge overlap (#3194)
shagun-singh-inkeepd38f143f44e9
diff --git a/.changeset/problems-tab-badge-overlap.md b/.changeset/problems-tab-badge-overlap.mdnew file mode 100644index 000000000..ec003c29e--- /dev/null+++ b/.changeset/problems-tab-badge-overlap.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": patch+---++Fixed the problem count on the document panel's Problems tab painting over the Comments tab next to it. The count hung off the outside of the tab's top-right corner, which was fine while Problems was the last tab in the row, but the Comments tab now sits to its right. The count is drawn inside the tab it belongs to.diff --git a/packages/app/src/components/DocPanel.tsx b/packages/app/src/components/DocPanel.tsxindex d9cd467d7..8a06ba23e 100644--- a/packages/app/src/components/DocPanel.tsx+++ b/packages/app/src/components/DocPanel.tsx@@ -222,7 +222,7 @@ export function DocPanel({<Badgevariant="notification"aria-hidden="true"- className="absolute -right-1.5 -top-1.5 h-4 min-w-4 rounded-full px-1 text-[10px] leading-none"+ className="pointer-events-none absolute -top-0.5 right-0.5 h-3.5 min-w-3.5 rounded-full px-1 font-sans text-[9px] leading-none tabular-nums">{diagnostics.length > 99 ? '99+' : diagnostics.length}</Badge>