From e98fc64bcb71a81c2bef26fa39d7fb4d2c567cf1 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Wed, 21 Dec 2016 14:00:50 +0100 Subject: [PATCH] Fix display bug with scrollbar into UI --- app/assets/stylesheets/application.scss | 1 + app/assets/stylesheets/dossiers.scss | 1 - app/assets/stylesheets/left_pannel.scss | 7 ++++--- app/assets/stylesheets/pref_list_menu.scss | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 00b4d9b93..3748b8f5e 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -46,6 +46,7 @@ form { #wrap { min-height: 100%; margin-bottom: -50px; + overflow: hidden; } #wrap:after { diff --git a/app/assets/stylesheets/dossiers.scss b/app/assets/stylesheets/dossiers.scss index c0804e990..61dcf0a52 100644 --- a/app/assets/stylesheets/dossiers.scss +++ b/app/assets/stylesheets/dossiers.scss @@ -44,7 +44,6 @@ h5 span { #procedure_list { margin-left: -10px; - overflow: scroll; margin-top: 20px; a, a:hover { color: #FFFFFF; diff --git a/app/assets/stylesheets/left_pannel.scss b/app/assets/stylesheets/left_pannel.scss index a4d363495..7debdf58c 100644 --- a/app/assets/stylesheets/left_pannel.scss +++ b/app/assets/stylesheets/left_pannel.scss @@ -1,13 +1,14 @@ #left-pannel { - padding: 60px 0 0 10px; + margin-top: 60px; + padding: 0 0 0 10px; background-color: #003189; - height: 100%; + height: calc(100% - 60px); position: fixed; top: 0; left: 0; bottom: 0; color: white; - overflow: scroll; + overflow-y: scroll; #first-block { font-family: Arial; diff --git a/app/assets/stylesheets/pref_list_menu.scss b/app/assets/stylesheets/pref_list_menu.scss index 0ab24a30d..3251d69fb 100644 --- a/app/assets/stylesheets/pref_list_menu.scss +++ b/app/assets/stylesheets/pref_list_menu.scss @@ -11,7 +11,7 @@ width: 470px; height: calc(100% - 25px); padding: 15px; - overflow: scroll; + overflow-y: scroll; } .open_pref_list {