chore: update detail styles (#1964)

This commit is contained in:
boojack
2023-07-15 22:57:57 +08:00
committed by GitHub
parent 49dd90578b
commit 01f4780655
15 changed files with 133 additions and 160 deletions

View File

@ -1,3 +1,4 @@
import { Button } from "@mui/joy";
import { isNumber, last, uniq } from "lodash-es";
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { toast } from "react-hot-toast";
@ -421,9 +422,9 @@ const MemoEditor = (props: Props) => {
<div className="editor-footer-container">
<MemoVisibilitySelector value={state.memoVisibility} onChange={handleMemoVisibilityChange} />
<div className="buttons-container">
<button className="action-btn confirm-btn" disabled={!allowSave} onClick={handleSaveBtnClick}>
<Button disabled={!allowSave} onClick={handleSaveBtnClick}>
{t("editor.save")}
</button>
</Button>
</div>
</div>
</div>