Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
docs(markdown-editor): drop the height comment (obvious CSS + bug-history)
Sergey Kozyrenko217ee785c400
diff --git a/frontend/src/components/shared/markdown-editor/markdown-editor-field.tsx b/frontend/src/components/shared/markdown-editor/markdown-editor-field.tsxindex 0f793802..929477ab 100644--- a/frontend/src/components/shared/markdown-editor/markdown-editor-field.tsx+++ b/frontend/src/components/shared/markdown-editor/markdown-editor-field.tsx@@ -80,9 +80,6 @@ export function MarkdownEditorField({[mode, onChange, disabled],);- // `h-`, not `min-h`: the mobile/tablet stack has no flex parent to cap the box, so `min-h` would let a long- // doc stretch the editor (and the page) to full content height instead of scrolling inside it. Height tracks- // useBreakpoint, not a CSS variant, because the layouts split at 1200px — which is no Tailwind breakpoint.const { isDesktop } = useBreakpoint();const boxClassName = cn(isDesktop ? 'min-h-0 flex-1' : 'h-[calc(100dvh-5rem)]', className);