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>
</ErrorBoundary>
<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 }}
>
{alertsList.map((alert) => (

View file

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

View file

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

View file

@ -535,9 +535,12 @@ export function updateTemplate(
if (objectToUpdate[key] && 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;
}
}
return clonedObject;