From 73fc9363062457fcfcf4fc8a8006e48aae8023a3 Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 25 Mar 2020 13:01:25 +0100 Subject: [PATCH] Enhance workflow matrix for small screens makes scrolling horizontally in the workflow manager easier. The offline banner and the voting banner will lead to unwanted results. --- .../workflow-detail/workflow-detail.component.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/app/site/motions/modules/motion-workflow/components/workflow-detail/workflow-detail.component.scss b/client/src/app/site/motions/modules/motion-workflow/components/workflow-detail/workflow-detail.component.scss index 5a292a0dc..9d5d7265f 100644 --- a/client/src/app/site/motions/modules/motion-workflow/components/workflow-detail/workflow-detail.component.scss +++ b/client/src/app/site/motions/modules/motion-workflow/components/workflow-detail/workflow-detail.component.scss @@ -40,5 +40,9 @@ table { } .scrollable-matrix { - overflow: auto; + overflow-y: scroll; + overflow-x: auto; + // the most simple solution that requires every other size to be exact. + // TODO: if the whole page is absolute again, this will not be required anymore. + height: calc(100vh - 128px); }