Skip to content

Commit

Permalink
fix: notebook save button on align buttons (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
hillaliy authored Nov 10, 2024
1 parent fc4cddc commit 15abfbb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/widgets/src/notebook/notebook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { useCallback, useEffect, useState } from "react";
import {
ActionIcon,
Box,
Button,
ColorPicker,
ColorSwatch,
Expand Down Expand Up @@ -65,12 +66,12 @@ import type { TablerIcon } from "@homarr/ui";
import type { WidgetComponentProps } from "../definition";

const iconProps = {
size: "1.25rem",
size: "5cqmin",
stroke: 1.5,
};

const controlIconProps = {
size: "1rem",
size: "5cqmin",
stroke: 1.5,
};

Expand Down Expand Up @@ -232,7 +233,7 @@ export function Notebook({ options, isEditMode, boardId, itemId }: WidgetCompone
}, [setIsEditing, handleEditToggleCallback]);

return (
<>
<Box>
<RichTextEditor
p={0}
mt={0}
Expand Down Expand Up @@ -394,7 +395,7 @@ export function Notebook({ options, isEditMode, boardId, itemId }: WidgetCompone
)}
</>
)}
</>
</Box>
);
}

Expand Down

0 comments on commit 15abfbb

Please sign in to comment.