Fix: Image embeds were unable to be opened into the image view

- Image embeds actions now use a better styling that's the same as the other action stylings
This commit is contained in:
bree
2021-07-06 03:56:04 -04:00
parent 002d565b3f
commit d829deba98
3 changed files with 58 additions and 13 deletions

View File

@@ -14,13 +14,11 @@ export default function EmbedMediaActions({ embed }: Props) {
return (
<div className={styles.actions}>
<div className={styles.info}>
<span className={styles.filename}>{filename}</span>
<span className={styles.filesize}>
{embed.width + "x" + embed.height}
</span>
</div>
<a href={embed.url} target="_blank">
<span className={styles.filename}>{filename}</span>
<span className={styles.filesize}>
{embed.width + "x" + embed.height}
</span>
<a href={embed.url} class={styles.openIcon} target="_blank">
<IconButton>
<LinkExternal size={24} />
</IconButton>