Increase the size of node and decrease the font

This commit is contained in:
dvirlabs 2025-07-11 16:21:28 +03:00
parent a63a30e8d8
commit 21b7acae5e
3 changed files with 7 additions and 4 deletions

View File

@ -80,6 +80,9 @@ def list_icons():
return categories
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000)
# For development, you can uncomment the line below to run the server with uvicorn directly.
# if __name__ == "__main__":
# uvicorn.run(app, host="0.0.0.0", port=8001)

View File

@ -27,8 +27,8 @@ function CustomNode({ data }) {
border: '2px solid #1976d2',
borderRadius: 6,
textAlign: 'center',
width: 80,
height: 80,
width: 120,
height: 120,
boxShadow: '0 2px 6px rgba(0,0,0,0.2)',
position: 'relative',
}}>
@ -57,7 +57,7 @@ function CustomNode({ data }) {
}}
style={{ width: 40, height: 40, marginTop: 6 }}
/>
<div style={{ fontWeight: 'bold', fontSize: 12 }}>{data.label}</div>
<div style={{ fontWeight: 'bold', fontSize: 10 }}>{data.label}</div>
</div>
);
}