Fix scrolling issues of iFrame.

This commit is contained in:
2022-12-06 11:32:14 +02:00
parent 161e34e8ee
commit b58ef27f1e
9 changed files with 31 additions and 17 deletions
+7 -1
View File
@@ -1,6 +1,5 @@
body {
margin: 0;
overflow-y: hidden;
}
main {
@@ -8,4 +7,11 @@ main {
margin-right: auto;
}
.body--iframe {
overflow-y: hidden;
}
.body--iframe main {
overflow: auto;
}
/*# sourceMappingURL=page--view.css.map */
+1 -1
View File
@@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["page--view.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;;AAGF;EACE;EACA","file":"page--view.css"}
{"version":3,"sourceRoot":"","sources":["page--view.scss"],"names":[],"mappings":"AAAA;EACE;;;AAGF;EACE;EACA;;;AAIF;EACE;;AAEA;EACE","file":"page--view.css"}
+8 -9
View File
@@ -1,6 +1,5 @@
body {
margin: 0;
overflow-y: hidden;
}
main {
@@ -8,11 +7,11 @@ main {
margin-right: auto;
}
// Container rules must be provided by the projectStyles (theme).
//.container {
// max-width: 1200px;
// margin-left: auto;
// margin-right: auto;
// padding-left: 15px;
// padding-right: 15px;
//}
// iFrame mode
.body--iframe {
overflow-y: hidden;
main {
overflow: auto;
}
}