Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
fix(ok): contain long property values in the chip (PRD-7715 PRD-7696) (#3073)
Andrew Mikofalvy1da07d92456c
diff --git a/.changeset/property-chip-contained-radius.md b/.changeset/property-chip-contained-radius.mdnew file mode 100644index 000000000..8cbbab956--- /dev/null+++ b/.changeset/property-chip-contained-radius.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": patch+---++Long values in the frontmatter properties panel no longer spill out of their pill background. A list property holding a long URL used to wrap across several lines while the chip's fully-rounded background ballooned into an oval that the text escaped, with the remove button floating over the text. Wrapped chips now render as a contained rounded rectangle; single-line chips keep their pill shape.diff --git a/packages/app/src/components/PropertyWidgets.tsx b/packages/app/src/components/PropertyWidgets.tsxindex e1f9597a1..63a4f45d2 100644--- a/packages/app/src/components/PropertyWidgets.tsx+++ b/packages/app/src/components/PropertyWidgets.tsx@@ -568,7 +568,12 @@ export function ListWidget({ keyName, value, onCommit }: CommonWidgetProps<strin// long single-word tag (`#xxxxxxx…`) to the value cell width// and lets the text break mid-string instead of overflowing// the column into adjacent layout.- 'inline-flex max-w-full min-w-0 items-center break-all text-1sm gap-0.5 rounded-full py-0.5 pl-2 pr-1.5 transition-colors',+ // `rounded-xl`, not `rounded-full`: on a wrapped multi-line+ // chip a 9999px radius clamps to half the (now tall) box and+ // renders an oval the rectangular text block escapes. A fixed+ // radius keeps tall chips contained, while CSS corner-overlap+ // scaling still renders single-line chips as full pills.+ 'inline-flex max-w-full min-w-0 items-center break-all text-1sm gap-0.5 rounded-xl py-0.5 pl-2 pr-1.5 transition-colors',renderAsTag &&'bg-primary/10 font-medium text-primary has-[button[data-tag]:hover]:bg-primary/20 has-[button[data-tag]:active]:bg-primary/25',renderAsInvalidTag &&