mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
fix: large images in website previews escape embed box
This commit is contained in:
parent
a4b8fb5fc2
commit
e9977b2a76
2 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@
|
|||
|
||||
&.website {
|
||||
gap: 6px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
> div:nth-child(1) {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue