0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

🐛 Fixed visible scrollbars in signup form preview

fixes https://github.com/TryGhost/Team/issues/3485
This commit is contained in:
Simon Backx 2023-06-15 15:03:36 +02:00
parent 6335033466
commit 885e5b7b9c

View file

@ -119,7 +119,7 @@ export default class Preview extends Component {
}
iframe.loading = true;
const html = `<html><head><style>body, html {padding: 0; margin: 0;}</style></head><body>${this.args.html}</body></html>`;
const html = `<html><head><style>body, html {padding: 0; margin: 0; overflow: hidden;}</style></head><body>${this.args.html}</body></html>`;
iframe.html = this.args.html;
iframe.style = this.args.style;