Merge pull request #1463 from MrTimscampi/card-shapes

Fix latest section portrait cards not being portrait in all cases
This commit is contained in:
Vasily 2020-06-22 12:59:36 +03:00 committed by GitHub
commit 1a8da665bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
}
function getPortraitShape() {
return enableScrollX() ? 'autooverflow' : 'auto';
return enableScrollX() ? 'overflowPortrait' : 'portrait';
}
function getLibraryButtonsHtml(items) {