editor: set a fixed width to iframe to avoid responsive styles

This commit is contained in:
Reorx 2023-02-12 02:52:16 +08:00
parent 5fe1ded857
commit f5c29519fb
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ button {
}
.output-html {
width: 100%;
// set a fixed size so that responsive styles won't be applied in the iframe
width: 801px;
height: 100%;
}