change clear icon

This commit is contained in:
nikk gitanes
2021-08-16 12:35:27 +03:00
parent 4cd783c1c8
commit df0c869056

View File

@@ -1,7 +1,7 @@
import { useTranslation } from 'react-i18next'
import { NoImageIcon } from 'icons'
import { IconButton, InputAdornment, TextField, useTheme } from '@material-ui/core'
import { CheckBox as CheckBoxIcon } from '@material-ui/icons'
import { HighlightOff as HighlightOffIcon } from '@material-ui/icons'
import {
ClearPosterButton,
@@ -84,7 +84,7 @@ export default function RightSideComponent({
endAdornment: (
<InputAdornment position='end'>
<IconButton
style={{ padding: '0 0 0 7px' }}
style={{ padding: '1px' }}
onClick={() => {
setTitle('')
setIsCustomTitleEnabled(!isCustomTitleEnabled)
@@ -92,7 +92,7 @@ export default function RightSideComponent({
setIsUserInteractedWithPoster(false)
}}
>
<CheckBoxIcon style={{ color: isCustomTitleEnabled ? primary : 'gray' }} />
<HighlightOffIcon style={{ color: isCustomTitleEnabled ? primary : 'gray' }} />
</IconButton>
</InputAdornment>
),