fixes
This commit is contained in:
parent
464151ca67
commit
095fe34c81
4 changed files with 5 additions and 4 deletions
|
|
@ -30,7 +30,8 @@
|
|||
}
|
||||
|
||||
.sidebar {
|
||||
flex-shrink: 0;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
width: 280px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
) : (
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue