Compare commits
3 Commits
5e50b29625
...
017a2ae5a4
| Author | SHA1 | Date | |
|---|---|---|---|
| 017a2ae5a4 | |||
| 791abef1ef | |||
| 31cc3079a8 |
@ -35,6 +35,7 @@ export default function DeleteClipDialog({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={onDelete}
|
onClick={onDelete}
|
||||||
|
autoFocus
|
||||||
className="bg-plum hover:bg-plumDark text-white font-bold h-10 px-4 rounded-md"
|
className="bg-plum hover:bg-plumDark text-white font-bold h-10 px-4 rounded-md"
|
||||||
>
|
>
|
||||||
Delete
|
Delete
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import {
|
|||||||
DialogTitle,
|
DialogTitle,
|
||||||
DialogContent,
|
DialogContent,
|
||||||
DialogActions,
|
DialogActions,
|
||||||
|
TextField,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
|
|
||||||
export default function NameEditDialog({
|
export default function NameEditDialog({
|
||||||
@ -35,17 +36,17 @@ export default function NameEditDialog({
|
|||||||
>
|
>
|
||||||
<DialogTitle>Edit Clip Name</DialogTitle>
|
<DialogTitle>Edit Clip Name</DialogTitle>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<textarea
|
<TextField
|
||||||
autoFocus
|
autoFocus
|
||||||
|
multiline
|
||||||
|
variant="standard"
|
||||||
className="font-bold text-lg bg-transparent outline-none border-b border-plum focus:border-plumDark text-white mb-1 w-full text-center resize-y"
|
className="font-bold text-lg bg-transparent outline-none border-b border-plum focus:border-plumDark text-white mb-1 w-full text-center resize-y"
|
||||||
value={input}
|
value={input}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setInput(e.target.value);
|
setInput(e.target.value);
|
||||||
}}
|
}}
|
||||||
rows={3}
|
|
||||||
onFocus={(event) => event.target.select()}
|
onFocus={(event) => event.target.select()}
|
||||||
aria-label="Edit clip name"
|
aria-label="Edit clip name"
|
||||||
style={{ minHeight: '3em' }}
|
|
||||||
/>
|
/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
|
|||||||
Reference in New Issue
Block a user