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:
parent
6335033466
commit
885e5b7b9c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue