Skip to content

Commit

Permalink
change copy to clipboard so it doesnt disappear
Browse files Browse the repository at this point in the history
closes (57)
  • Loading branch information
Pewillia committed Nov 22, 2024
1 parent fd51f72 commit a5580f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ConfigTextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function ConfigTextEditor() {
>
<Box sx={modalContentStyle}>
<Box className="config-editor" sx={{ position: 'relative' }}>
<Box sx={{ position: 'absolute', top: 5, right: 10 }}>
<Box sx={{ position: 'fixed', top: 5, right: 10 }}>
<CopyToClipboardButton textToCopy={editorText} />
</Box>
<div className="line-numbers">
Expand Down

0 comments on commit a5580f4

Please sign in to comment.