Skip to content
Snippets Groups Projects
Unverified Commit 1a31fa90 authored by GyDi's avatar GyDi
Browse files

fix: profile can not edit

parent 558b8499
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ export const EditorViewer = (props: Props) => {
<Dialog open={open} onClose={onClose}>
<DialogTitle>{t("Edit File")}</DialogTitle>
<DialogContent sx={{ width: 520, pb: 1 }}>
<DialogContent sx={{ width: 520, pb: 1, userSelect: "text" }}>
<div style={{ width: "100%", height: "420px" }} ref={editorRef} />
</DialogContent>
......
......@@ -86,7 +86,7 @@ export const InfoViewer = (props: Props) => {
<Dialog open={open} onClose={onClose}>
<DialogTitle sx={{ pb: 0.5 }}>{t("Edit Info")}</DialogTitle>
<DialogContent sx={{ width: 336, pb: 1 }}>
<DialogContent sx={{ width: 336, pb: 1, userSelect: "text" }}>
<TextField
{...textFieldProps}
disabled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment