diff --git a/src/components/secret/secretInput.tsx b/src/components/secret/secretInput.tsx index ff0015a..937e79f 100644 --- a/src/components/secret/secretInput.tsx +++ b/src/components/secret/secretInput.tsx @@ -12,7 +12,6 @@ import Popper, { PopperProps } from '@mui/material/Popper' import DeleteForever from '@mui/icons-material/DeleteForever' import Box from '@mui/material/Box' import { ellipsePad } from '../../src/util' -import Tooltip from '@mui/material/Tooltip' import ConfirmDeleteDialog from './confirmDeleteDialog' type ITextWithSaveProps = TextFieldProps & { @@ -61,9 +60,10 @@ function TextWithSave(props: ITextWithSaveProps) { onClick={handleClickSaveIcon} onMouseDown={handleMouseDownSave} edge="end" - sx={{ mr: -1 }} + sx={{ mr: -4 }} + title="Save" > - + )} @@ -122,11 +122,14 @@ export default function SecretInput(props: ISecretInputProps) { renderOption={(props, option) => (
  • {ellipsePad(option.label)} - - handleClickDelete(option)} edge="end"> - - - + handleClickDelete(option)} + edge="end" + > + +
  • )} options={secrets}