From 57159bf523bc6a934a843409491cb9deca9c7e73 Mon Sep 17 00:00:00 2001 From: Nikolaos Laskaris Date: Fri, 10 Nov 2017 15:57:08 +0200 Subject: [PATCH] fixed scrollers on form container --- .../src/app/form/dynamic-form.component.css | 32 ++--- .../src/app/form/dynamic-form.component.html | 133 ++++++++++-------- .../src/app/form/dynamic-form.component.ts | 2 +- dmp-frontend/src/index.html | 2 +- 4 files changed, 87 insertions(+), 82 deletions(-) diff --git a/dmp-frontend/src/app/form/dynamic-form.component.css b/dmp-frontend/src/app/form/dynamic-form.component.css index f5621e21c..81e4095c2 100644 --- a/dmp-frontend/src/app/form/dynamic-form.component.css +++ b/dmp-frontend/src/app/form/dynamic-form.component.css @@ -4,36 +4,28 @@ margin-top:15px; } - - -.styled-scrollbar::-webkit-scrollbar-track { - box-shadow: inset 0 0 6px rgba(0,0,0,0.3); - -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); - background-color: #F5F5F5; - border-radius: 10px; -} - -.styled-scrollbar::-webkit-scrollbar-thumb { - border-radius: 10px; - background-image: -webkit-gradient(linear, - left bottom, - left top, - color-stop(0.44, rgb(122,153,217)), - color-stop(0.72, rgb(73,125,189)), - color-stop(0.86, rgb(28,58,148))); -} - .parent-div { height: calc(100vh - 80px); width:100%; } + + .child-div-left{ - overflow-y: scroll; height: 100%; } .child-div-right { overflow-y: scroll; height: 100%; +} + + +.form-body-container{ + height: calc(100vh - 80px - 130px); + overflow-y:scroll; +} + +.form-footer-container { + height: 130px; } \ No newline at end of file diff --git a/dmp-frontend/src/app/form/dynamic-form.component.html b/dmp-frontend/src/app/form/dynamic-form.component.html index b8eb81c32..b27256a19 100644 --- a/dmp-frontend/src/app/form/dynamic-form.component.html +++ b/dmp-frontend/src/app/form/dynamic-form.component.html @@ -1,83 +1,96 @@
-
+
+ + -
+
-
-
-

{{section.title}}

-
-
- -
-
- + + +
+
+

{{section.title}}

+
+
+ +
+
+ +
+ +

{{section.title}}

+
+
+ +
+
+ +
- -

{{section.title}}

-
-
- -
-
- -
-
- - + + + + + +
+ +