Skip to content

Commit

Permalink
fixed CSS selector commerce-frame section and fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
mirafedas committed Mar 15, 2024
1 parent 0e512db commit b985de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/blocks/modal/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
}

.dialog-modal.commerce-frame > .fragment,
.dialog-modal.commerce-frame > .section {
.dialog-modal.commerce-frame > .fragment > .section {
height: 100%;
}

Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/modal/modal.merch.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function adjustStyles({ dialog, iframe }) {
if (isAutoHeightAdjustment) {
dialog.classList.add('height-fit-content');
} else {
iframe.style.height = '100vh';
iframe.style.height = '100%';
}
}

Expand Down

0 comments on commit b985de5

Please sign in to comment.