From 08ee5f0ba0140dc49c446eefc4770ea3b00a29e4 Mon Sep 17 00:00:00 2001 From: elhombretecla Date: Thu, 2 Mar 2017 09:44:40 +0100 Subject: [PATCH] fix view mode scroll --- frontend/resources/styles/view/layouts/main-layout.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/resources/styles/view/layouts/main-layout.scss b/frontend/resources/styles/view/layouts/main-layout.scss index 7e730eb42..a50841e15 100644 --- a/frontend/resources/styles/view/layouts/main-layout.scss +++ b/frontend/resources/styles/view/layouts/main-layout.scss @@ -214,11 +214,12 @@ .view-canvas { background-color: $secondary-ui-bg; width: 100%; - overflow: auto; - + overflow: scroll; display: flex; - justify-content: center; - align-items: center; + .page-layout { + flex-shrink: 0; + margin: auto; + } } .interaction-mark {