fix #516: scrolling on the open screen on mobile

This commit is contained in:
antelle 2020-03-15 17:02:39 +01:00
parent 42833accc0
commit 3a17a370f2
3 changed files with 11 additions and 1 deletions

View File

@ -122,6 +122,9 @@ class AppView extends View {
if (this.titlebarStyle !== 'default') {
document.body.classList.add('titlebar-' + this.titlebarStyle);
}
if (Features.isMobile) {
document.body.classList.add('mobile');
}
}
fixClicksInEdge() {

View File

@ -7,6 +7,10 @@
justify-content: center;
background: var(--background-color);
.mobile & {
overflow-y: auto;
}
&__icons {
display: flex;
align-items: stretch;
@ -139,7 +143,9 @@
flex-direction: column;
justify-content: flex-start;
position: relative;
width: 30em;
@include nomobile {
width: 30em;
}
.open--drag & {
display: none;
}

View File

@ -21,6 +21,7 @@ Release notes
`-` fix #1378: screen orientation issues on Android PWA
`-` fix #1338: minimized option not working on linux
`-` fix #895: generator positioning in list view
`-` fix #516: scrolling on the open screen on mobile
##### v1.12.3 (2019-11-06)
`-` fix #1335: removed the menubar on Windows and Linux