feat: updates styling on node labels

This commit is contained in:
Mark Mankarious
2023-08-17 18:41:45 +01:00
parent f13d3a60fb
commit d0f3cdf791
2 changed files with 1 additions and 3 deletions

View File

@@ -68,7 +68,6 @@ export const LabelContainer = ({
border: '1px solid',
borderColor: 'grey.500',
borderRadius: 2,
overflow: 'hidden',
left: -contentSize.width * 0.5,
top: -(contentSize.height + labelHeight + yOffset),
py: 1,

View File

@@ -18,8 +18,7 @@ export const Callbacks = () => {
nodes: [
{
id: 'server',
label: '<p>Callbacks example</p>',
labelHeight: 40,
label: '<p>This is an example of tracking changes to the scene.</p>',
iconId: 'server',
position: {
x: 0,