diff --git a/src/common/components/snackbar/SnackbarInsert.tsx b/src/common/components/snackbar/SnackbarInsert.tsx index a352bde18..e7ba87d83 100644 --- a/src/common/components/snackbar/SnackbarInsert.tsx +++ b/src/common/components/snackbar/SnackbarInsert.tsx @@ -44,7 +44,11 @@ const defaultTypeConfig: { }, }; -const titleSx: SxProps = { +const typeDefaultSx: SxProps = { + border: '1px solid', +}; + +const typeTitleSx: SxProps = { '--Snackbar-inset': '64px', borderRadius: 'md', boxShadow: 'md', @@ -98,7 +102,7 @@ export function SnackbarInsert() { )} - sx={activeMessage.type === 'title' ? titleSx : undefined} + sx={activeMessage.type === 'title' ? typeTitleSx : typeDefaultSx} > {activeMessage.message} diff --git a/src/common/util/clipboardUtils.ts b/src/common/util/clipboardUtils.ts index 754162376..93b9a2c95 100644 --- a/src/common/util/clipboardUtils.ts +++ b/src/common/util/clipboardUtils.ts @@ -16,7 +16,7 @@ export function copyToClipboard(text: string, typeLabel: string) { type: 'success', closeButton: false, overrides: { - autoHideDuration: 1400, + autoHideDuration: 2000, }, }); })