Skip to content

Commit d6c23c8

Browse files
committed
Fix theme editor history toolbar position
The LoadIn component having transform properties caused the position: fixed to not work
1 parent b137102 commit d6c23c8

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Plan/react/dashboard/src/style/main.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ p, span, td, .h3, a, button
131131

132132
.editor-toast
133133
position: fixed
134-
top: 8.5rem
134+
top: 9.2rem
135135
right: 1.9rem
136136
transition: top 0.5s
137137
z-index: 100

Plan/react/dashboard/src/views/theme/ThemeEditorView.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import SecondaryActionButton from "../../components/input/button/SecondaryAction
1717
import {MinHeightProvider} from "../../hooks/context/minHeightContextHook.jsx";
1818
import {useMetadata} from "../../hooks/metadataHook.jsx";
1919
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
20-
import LoadIn from "../../components/animation/LoadIn.jsx";
2120
import DownloadButton from "../../components/theme/DownloadButton.jsx";
2221
import {useAuth} from "../../hooks/authenticationHook.jsx";
2322

@@ -62,7 +61,7 @@ const ThemeEditorView = () => {
6261
const invalidName = isNameInvalid(name);
6362

6463
return (
65-
<LoadIn>
64+
<div className={"load-in"}>
6665
{hasPermission('access.theme.editor') && <MinHeightProvider>
6766
<Card className="shadow mb-4 theme-editor" id={"theme-editor"}>
6867
<EditorMenuToast/>
@@ -150,7 +149,7 @@ const ThemeEditorView = () => {
150149
className={nightHover ? ' night-mode-colors' : ''}/>
151150
</Card>
152151
</MinHeightProvider>}
153-
</LoadIn>
152+
</div>
154153
)
155154
};
156155

0 commit comments

Comments
 (0)