From ce4d76fe7efc21e021d41b1e396701ac92e8cdc2 Mon Sep 17 00:00:00 2001 From: Huei Tan Date: Fri, 16 Aug 2024 10:50:09 +0200 Subject: [PATCH 1/2] Remove min-height and use default height from wordpress popover --- src/link/style.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/link/style.scss b/src/link/style.scss index 80e40a1..efdfb1a 100644 --- a/src/link/style.scss +++ b/src/link/style.scss @@ -357,7 +357,6 @@ body { .wikipediapreview-edit-preview { width: 350px; - min-height: 214px; &-container { display: flex; From fdfbf9602f19c849f412a4bff368ca993b4be7b5 Mon Sep 17 00:00:00 2001 From: Sbisson Date: Tue, 29 Oct 2024 13:20:34 -0400 Subject: [PATCH 2/2] Set min-height on preview itself so it fills entire container --- src/link/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/link/style.scss b/src/link/style.scss index efdfb1a..3b3b99e 100644 --- a/src/link/style.scss +++ b/src/link/style.scss @@ -424,6 +424,7 @@ body { .wikipediapreview { box-shadow: none; + min-height: 214px; .wikipediapreview-footer { position: relative;