Formatting

This commit is contained in:
Cristhian Zanforlin Lousa 2023-06-08 12:09:45 -03:00
commit 3b147c879d
4 changed files with 72 additions and 86 deletions

View file

@ -134,7 +134,8 @@ export default function App() {
</div> </div>
</ErrorBoundary> </ErrorBoundary>
<div></div> <div></div>
<div className="flex flex-col-reverse fixed bottom-5 left-5" <div
className="flex flex-col-reverse fixed bottom-5 left-5"
style={{ zIndex: 999 }} style={{ zIndex: 999 }}
> >
{alertsList.map((alert) => ( {alertsList.map((alert) => (

View file

@ -102,7 +102,6 @@ export default function GenericNode({
} }
return ( return (
<> <>
<NodeToolbar> <NodeToolbar>
<NodeToolbarComponent <NodeToolbarComponent
@ -139,8 +138,7 @@ export default function GenericNode({
event.preventDefault(); event.preventDefault();
openPopUp(<NodeModal data={data} />); openPopUp(<NodeModal data={data} />);
}} }}
> ></button>
</button>
</div> </div>
<div className="flex gap-3"> <div className="flex gap-3">
<div> <div>

View file

@ -116,18 +116,6 @@
-radius: 0.5rem; -radius: 0.5rem;
} }
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
font-feature-settings: "rlig" 1, "calt" 1;
}
}
@layer base { @layer base {
* { * {
@apply border-border; @apply border-border;
@ -142,11 +130,7 @@
body { body {
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
"Cantarell",
"Fira Sans",
"Droid Sans",
"Helvetica Neue",
sans-serif; sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;

View file

@ -535,9 +535,12 @@ export function updateTemplate(
if (objectToUpdate[key] && objectToUpdate[key].value) { if (objectToUpdate[key] && objectToUpdate[key].value) {
clonedObject[key].value = objectToUpdate[key].value; clonedObject[key].value = objectToUpdate[key].value;
} }
if(objectToUpdate[key] && objectToUpdate[key].advanced!==null && objectToUpdate[key].advanced!==undefined){ if (
objectToUpdate[key] &&
objectToUpdate[key].advanced !== null &&
objectToUpdate[key].advanced !== undefined
) {
clonedObject[key].advanced = objectToUpdate[key].advanced; clonedObject[key].advanced = objectToUpdate[key].advanced;
} }
} }
return clonedObject; return clonedObject;