Skip to content

Commit f990ab1

Browse files
Merge pull request #20792 from Yoast/fix-scrollable-upsell-modal
Fix scrollable upsell modal.
2 parents c7fc4f6 + 50c5a70 commit f990ab1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

css/src/modal.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464

6565
@media (min-width: 600px) {
6666
border-radius: 8px;
67+
max-height: calc( 100% - 48px );
6768
}
6869
}
6970

@@ -80,6 +81,10 @@
8081
margin: 0;
8182
}
8283

84+
.yoast-gutenberg-modal .components-modal__content .components-modal__header {
85+
border-bottom-color: #e2e8f0 !important;
86+
}
87+
8388
.yoast-gutenberg-modal .components-modal__icon-container {
8489
display: inline-flex;
8590
}

packages/js/src/components/UpsellBox.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ class UpsellBox extends Component {
117117
const price = newPrice ? newPrice : defaultPrice;
118118
return (
119119
<Fragment>
120-
<hr className="yst-mt-1.5 yst-mb-0 yst-border-t-0 yst-border-b-slate-200" />
121120
{ isBlackFriday &&
122121
<div className="yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6">
123122
<div>{ __( "BLACK FRIDAY", "wordpress-seo" ) }</div>

0 commit comments

Comments
 (0)