Skip to content

Commit

Permalink
remove unused class and style
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Nov 16, 2024
1 parent 81170b3 commit 991eda2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ export const UndoRedo = () => {
leadingIcon={<AwesomeIcon icon={faRotateLeft} />}
disabled={undoDisabled}
>
<div className="hideInLowResolution">Undo</div>
<div>Undo</div>
</Button>
<Button
variant="toolbtn"
onClick={handleRedoClick}
leadingIcon={<AwesomeIcon icon={faRotateRight} />}
disabled={redoDisabled}
>
<div className="hideInLowResolution">Redo</div>
<div>Redo</div>
</Button>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion src/editor/components/scenegraph/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export default class Toolbar extends Component {
)}
</div>
{isEditor && (
<div className="undoRedoActions mr-14 mt-2 flex justify-end space-x-2">
<div className="mr-14 mt-2 flex justify-end space-x-2">
<UndoRedo />
</div>
)}
Expand Down
8 changes: 0 additions & 8 deletions src/editor/style/scenegraph.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
// left: 32px;
height: 43px;
z-index: 10;
.toolbarActions {
width: fit-content;
height: 43px;
display: flex;
justify-content: flex-end;
align-items: center;
gap: 12px;
}
.saveButtonWrapper {
.icon * {
stroke: variables.$gray-200;
Expand Down

0 comments on commit 991eda2

Please sign in to comment.