Skip to content

Commit ddba384

Browse files
committed
Issue #1568: fix main-section css for IOS
1 parent f5218bd commit ddba384

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

OpenRobertaServer/staticResources/css/roberta.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OpenRobertaServer/staticResources/css/roberta.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OpenRobertaWeb/css/roberta.css

+4-7
Original file line numberDiff line numberDiff line change
@@ -265,17 +265,14 @@ body.blocklyMinimalBody * {
265265
}
266266

267267
#main-section {
268-
position: relative;
269-
top: 0;
268+
position: absolute;
270269
left: 0;
271270
right: 0;
272271
bottom: 0;
273-
margin: 96px 0 0 0;
272+
margin: 0;
274273
background: #E9ECEF;
275274
overflow: hidden;
276-
}
277-
278-
#main-section {
275+
top: 96px;
279276
padding: 0;
280277
}
281278

@@ -2643,7 +2640,7 @@ input[type=range]:focus::-ms-fill-upper {
26432640

26442641
@media only screen and (max-width: 992px) {
26452642
#main-section {
2646-
margin-top: 60px;
2643+
top: 60px;
26472644
}
26482645

26492646
#logoShowStart img {

0 commit comments

Comments
 (0)