This is an automated email from the ASF dual-hosted git repository.
mdisabatino pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_0_X by this push:
new 1c41887 Fix CSS palette scrollbar
1c41887 is described below
commit 1c418871fce6ce1be964876f9b5f05830d6ffe24
Author: Marco Di Sabatino Di Diodoro <[email protected]>
AuthorDate: Wed Apr 15 16:30:21 2020 +0200
Fix CSS palette scrollbar
---
.../resources/META-INF/resources/css/syncopeConsole.css | 14 ++++++++++++++
.../console/wicket/markup/html/form/NonI18nPalette.html | 8 ++++----
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git
a/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
b/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
index c2dcf2c..3442821 100644
---
a/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
+++
b/client/console/src/main/resources/META-INF/resources/css/syncopeConsole.css
@@ -1162,3 +1162,17 @@ div#inline-actions ul.menu i, div#tablehandling ul.menu
i {
div#tablehandling ul.menu li a {
padding: 0px !important;
}
+
+.palette-scrollbar {
+ min-width: 100%;
+ overflow: scroll;
+}
+
+@-moz-document url-prefix(''){
+ .palette-scrollbar {
+ min-width: 100%;
+ width: auto;
+ overflow: scroll;
+ }
+}
+
diff --git
a/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/NonI18nPalette.html
b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/NonI18nPalette.html
index de21826..4b245fa 100644
---
a/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/NonI18nPalette.html
+++
b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/NonI18nPalette.html
@@ -18,11 +18,11 @@
<wicket:panel>
<input type="hidden" wicket:id="recorder"/>
<div class="col-md-5">
- <div class="form-group">
+ <div class="form-group" style="overflow-x:auto;">
<label>
<span wicket:id="availableHeader">[available header]</span>
</label>
- <select class="form-control" style="min-width: 100%; width: auto;
overflow: scroll;" wicket:id="choices">[choices]</select>
+ <select class="form-control palette-scrollbar"
wicket:id="choices">[choices]</select>
</div>
</div>
<div style="width: 20px; float: left; padding-top: 30px; text-align:
center">
@@ -46,11 +46,11 @@
</div>
</div>
<div class="col-md-5">
- <div class="form-group">
+ <div class="form-group" style="overflow-x:auto;">
<label>
<span wicket:id="selectedHeader">[selected header]</span>
</label>
- <select class="form-control" style="min-width: 100%; width: auto;
overflow: scroll;" wicket:id="selection">[selection]</select>
+ <select class="form-control palette-scrollbar"
wicket:id="selection">[selection]</select>
</div>
</div>
</wicket:panel>