From aafeabdf4ea825332a00430281724a758b9ca38c Mon Sep 17 00:00:00 2001 From: kunw Date: Wed, 22 Jun 2016 12:19:35 +0800 Subject: [PATCH 1/2] update for setting mainframe center in css style. --- static/resources/css/index.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/resources/css/index.css b/static/resources/css/index.css index 07cff0b37..938ad0ef0 100644 --- a/static/resources/css/index.css +++ b/static/resources/css/index.css @@ -33,8 +33,6 @@ body { background-color: #EFEFEF; max-height: 100%; height: 100%; - overflow-y: auto; - overflow-x: hidden; } .up-section { From 82de5b3bf412c6ae16906fbac0a0bc11a6b22f92 Mon Sep 17 00:00:00 2001 From: kunw Date: Wed, 22 Jun 2016 12:37:52 +0800 Subject: [PATCH 2/2] updates for mainframe width and height style settings. --- static/resources/css/index.css | 5 +++++ views/index.htm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/static/resources/css/index.css b/static/resources/css/index.css index 938ad0ef0..6ffcfdc1b 100644 --- a/static/resources/css/index.css +++ b/static/resources/css/index.css @@ -33,6 +33,10 @@ body { background-color: #EFEFEF; max-height: 100%; height: 100%; + width: 100%; + min-width: 1px; + overflow: auto; + min-height: 1px; } .up-section { @@ -107,4 +111,5 @@ body { .page-content { margin: 0 20px 0 20px; text-align: left; + overflow-y: hidden; } diff --git a/views/index.htm b/views/index.htm index 15ac70441..86d3ed3d6 100644 --- a/views/index.htm +++ b/views/index.htm @@ -47,7 +47,7 @@ - +