mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
fix: styling
This commit is contained in:
parent
56152230f8
commit
2018a6c000
@ -13,7 +13,14 @@
|
||||
{edges}
|
||||
fitView
|
||||
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}
|
||||
on:nodeclick={(event) => console.log('on node click', event.detail.node)}
|
||||
oninit={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user