forked from abner/for-legacy-web
fix: large images in website previews escape embed box
This commit is contained in:
committed by
Paul Makles
parent
a4b8fb5fc2
commit
e9977b2a76
@@ -114,7 +114,7 @@ export default function EmbedMedia({ embed, width, height }: Props) {
|
||||
className={styles.image}
|
||||
src={client.proxyFile(url)}
|
||||
loading="lazy"
|
||||
style={{ width, height }}
|
||||
style={{ width: "100%", height: "100%" }}
|
||||
onClick={() =>
|
||||
modalController.push({
|
||||
type: "image_viewer",
|
||||
|
||||
Reference in New Issue
Block a user