mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-20 00:05: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 />,
|
extension: <MdExtension />,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const IMAGE_WIDTH = 20
|
||||||
|
|
||||||
export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProps): ReactElement {
|
export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProps): ReactElement {
|
||||||
const {t} = useTranslation()
|
const {t} = useTranslation()
|
||||||
const {showError, showSuccess} = useErrorSuccessSnacks()
|
const {showError, showSuccess} = useErrorSuccessSnacks()
|
||||||
@ -332,6 +334,7 @@ export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProp
|
|||||||
<ListItem key={website.url}>
|
<ListItem key={website.url}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<FaviconImage
|
<FaviconImage
|
||||||
|
width={IMAGE_WIDTH}
|
||||||
url={website.url}
|
url={website.url}
|
||||||
/>
|
/>
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
@ -366,7 +369,7 @@ export default function AliasNotesForm({id, notes, queryKey}: AliasNotesFormProp
|
|||||||
<ListItem key={website.url}>
|
<ListItem key={website.url}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<FaviconImage
|
<FaviconImage
|
||||||
width={20}
|
width={IMAGE_WIDTH}
|
||||||
url={website.url}
|
url={website.url}
|
||||||
/>
|
/>
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user