This commit is contained in:
ValueOn AG 2026-04-09 21:33:54 +02:00
parent 464151ca67
commit 095fe34c81
4 changed files with 5 additions and 4 deletions

View file

@ -30,7 +30,8 @@
}
.sidebar {
flex-shrink: 0;
flex: 1;
min-height: 0;
width: 280px;
display: flex;
flex-direction: column;

View file

@ -764,7 +764,7 @@ export const Automation2FlowEditor: React.FC<Automation2FlowEditorProps> = ({ in
Tracing
</button>
</div>
<div style={{ flex: 1, overflow: 'hidden' }}>
<div style={{ flex: 1, display: 'flex', flexDirection: 'column', overflow: 'hidden', minHeight: 0 }}>
{rightTab === 'nodes' ? (
renderSidebar()
) : (

View file

@ -455,8 +455,6 @@ export function FormGeneratorForm<T extends Record<string, any>>({
// Validate all fields
const validateFields = (): boolean => {
const { t } = useLanguage();
const newErrors: Record<string, string> = {};
const filteredAttrs = getFilteredAttributes();

View file

@ -130,6 +130,8 @@ export const ChatStream: React.FC<ChatStreamProps> = ({ messages,
{children}
</a>
),
img: ({ src, alt, ...rest }) =>
src ? <img src={src} alt={alt || ''} {...rest} style={{ maxWidth: '100%', borderRadius: 6 }} /> : null,
}}
>
{msg.message}