Skip to content

Commit

Permalink
Merge pull request #1004 from fusawa-yugo/fusawa-yugo/show-savebutton…
Browse files Browse the repository at this point in the history
…-in-memo

Fix the problem that SAVE button and CLOSE button are invisible when editing Note
  • Loading branch information
porink0424 authored Jan 15, 2025
2 parents aa79009 + b9b404b commit dba32a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions optuna_dashboard/ts/components/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ const MarkdownEditorModal: FC<{
bottom: 0,
height: "100%",
left: 0,
overflow: "hidden",
overflow: "scroll",
position: "fixed",
right: 0,
top: 0,
Expand Down Expand Up @@ -331,10 +331,10 @@ const MarkdownEditorModal: FC<{
resize: "none",
width: "100%",
height: "100%",
"& .MuiInputBase-root": { height: "100%" },
}}
inputProps={{
style: { resize: "none", overflow: "scroll", height: "100%" },
"& .MuiInputBase-root": {
height: "100%",
alignItems: "start",
},
}}
inputRef={textAreaRef}
defaultValue={latestNote.body}
Expand Down

0 comments on commit dba32a0

Please sign in to comment.