mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
fix: large images in website previews escape embed box
This commit is contained in:
committed by
Paul Makles
parent
4bdcfa457e
commit
6da3527f24
@@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
&.website {
|
&.website {
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
> div:nth-child(1) {
|
> div:nth-child(1) {
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ export default function EmbedMedia({ embed, width, height }: Props) {
|
|||||||
className={styles.image}
|
className={styles.image}
|
||||||
src={client.proxyFile(url)}
|
src={client.proxyFile(url)}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
style={{ width, height }}
|
style={{ width: "100%", height: "100%" }}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
modalController.push({
|
modalController.push({
|
||||||
type: "image_viewer",
|
type: "image_viewer",
|
||||||
|
|||||||
Reference in New Issue
Block a user