mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-20 08:15:26 +02:00
fixed image width
This commit is contained in:
parent
c7bc604f4c
commit
61291147c2
@ -57,6 +57,8 @@ const CREATION_CONTEXT_ICON_MAP: Record<AliasNote["data"]["creationContext"], Re
|
||||
extension: <MdExtension />,
|
||||
}
|
||||
|
||||
const IMAGE_WIDTH = 20
|
||||
|
||||
export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProps): ReactElement {
|
||||
const {t} = useTranslation()
|
||||
const {showError, showSuccess} = useErrorSuccessSnacks()
|
||||
@ -332,6 +334,7 @@ export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProp
|
||||
<ListItem key={website.url}>
|
||||
<ListItemIcon>
|
||||
<FaviconImage
|
||||
width={IMAGE_WIDTH}
|
||||
url={website.url}
|
||||
/>
|
||||
</ListItemIcon>
|
||||
@ -366,7 +369,7 @@ export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProp
|
||||
<ListItem key={website.url}>
|
||||
<ListItemIcon>
|
||||
<FaviconImage
|
||||
width={20}
|
||||
width={IMAGE_WIDTH}
|
||||
url={website.url}
|
||||
/>
|
||||
</ListItemIcon>
|
||||
|
Loading…
x
Reference in New Issue
Block a user