From ac380d041cba814ec622a2ed073e6c4f59921abe Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Tue, 23 Mar 2021 20:53:23 +0100 Subject: [PATCH] Fix overflow issue --- src/App.less | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/App.less b/src/App.less index cbd1c96..ee586b1 100644 --- a/src/App.less +++ b/src/App.less @@ -5,6 +5,10 @@ @import './themes/common.less'; @import './themes/ant.less'; +body { + overflow: hidden; +} + .border-right { border-right-width: 1px; border-right-color: @border-color-split; @@ -30,9 +34,6 @@ // border-bottom-style: solid; box-shadow: 0px 0px 20px 0px #0000001c, 5px 5px 15px 5px rgb(0 0 0 e('/') 4%); z-index: @bars-z-index; - position: sticky; - top: 0; - width: 100%; } .app-sidebar { @@ -58,6 +59,8 @@ .app-content { height: calc(100vh - @layout-header-height - @layout-footer-height); + overflow-y: auto; + overflow-x: hidden; } .table {