Skip to content

Commit

Permalink
added html structure to edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
deletidev committed May 23, 2024
1 parent 58f1ed7 commit 615ccb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/pods/canvas/canvas.pod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export const CanvasPod: React.FC = () => {
}, [modalDialog.isOpen, canvasSchema.selectedElementId]);

return (
<div
<main
className={classes.container}
ref={containerRef}
onScroll={handleScroll}
Expand Down Expand Up @@ -282,6 +282,6 @@ export const CanvasPod: React.FC = () => {
/>
)}
</div>
</div>
</main>
);
};
4 changes: 2 additions & 2 deletions src/pods/footer/footer.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ export const FooterComponent: React.FC = () => {
? getFileNameCanvasIsPristine(filename, NEW_DOCUMENT_NAME)
: getFileNameCanvasDirty(filename, NEW_DOCUMENT_NAME, ASTERISK);
return (
<div className={classes.footerText}>
<footer className={classes.footerText}>
<span>{isDevice ? documentNameMobile() : documentName()}</span>
<button onClick={toggleTheme} className="mobile-only">
{theme.themeMode === 'dark' ? <LightIcon /> : <DarkIcon />}
</button>
</div>
</footer>
);
};
4 changes: 2 additions & 2 deletions src/pods/toolbar/toolbar.pod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import classes from './toolbar.pod.module.css';

export const ToolbarPod: React.FC = () => {
return (
<div className={classes.container}>
<header className={classes.container}>
<NewButton />
<OpenButton />
<SaveButton />
Expand All @@ -35,6 +35,6 @@ export const ToolbarPod: React.FC = () => {
<CanvasSettingButton />
<AboutButton />
<ThemeToggleButton darkLabel="Dark Mode" lightLabel="Light Mode" />
</div>
</header>
);
};

0 comments on commit 615ccb6

Please sign in to comment.