mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: styling
This commit is contained in:
parent
56152230f8
commit
2018a6c000
@ -13,7 +13,14 @@
|
|||||||
{edges}
|
{edges}
|
||||||
fitView
|
fitView
|
||||||
minZoom={0.001}
|
minZoom={0.001}
|
||||||
colorMode={$theme.includes('dark') ? 'dark' : 'light'}
|
colorMode={$theme.includes('dark')
|
||||||
|
? 'dark'
|
||||||
|
: $theme === 'system'
|
||||||
|
? window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||||
|
? 'dark'
|
||||||
|
: 'light'
|
||||||
|
: 'light'}
|
||||||
|
nodesConnectable={false}
|
||||||
nodesDraggable={false}
|
nodesDraggable={false}
|
||||||
on:nodeclick={(event) => console.log('on node click', event.detail.node)}
|
on:nodeclick={(event) => console.log('on node click', event.detail.node)}
|
||||||
oninit={() => {
|
oninit={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user