This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 625ac1079a Console: Realm search bar enlargement and better
positioning for small screens (#411)
625ac1079a is described below
commit 625ac1079a3b2fe2f59aa89f2e18af8bfd3dfdb2
Author: Lorenzo Di Cola <[email protected]>
AuthorDate: Wed Feb 15 15:27:39 2023 +0100
Console: Realm search bar enlargement and better positioning for small
screens (#411)
---
.../META-INF/resources/ui-commons/css/syncopeUI.scss | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git
a/client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/syncopeUI.scss
b/client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/syncopeUI.scss
index 9feb80a774..1d2a627400 100644
---
a/client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/syncopeUI.scss
+++
b/client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/syncopeUI.scss
@@ -108,8 +108,8 @@ pre {
}
.realm-header {
+ width: 100%;
clear: both;
- display: block;
display: inline-table;
margin: 0 0 10px;
line-height: 25px;
@@ -124,8 +124,7 @@ pre {
}
.realm-choice {
- right: 0px;
- position: absolute;
+ float: right;
}
.realm-header .dropdown-menu li a {
@@ -1091,7 +1090,7 @@ div#tablehandling ul.menu li a {
}
.realm-choice #realm-choice-field {
- width: 200px;
+ width: 400px;
padding-right: 20px;
}
@@ -1195,3 +1194,12 @@ pre {
float: right;
margin-right:12px;
}
+
+@media screen and (max-width: 500px) {
+ .realm-choice #realm-choice-field{
+ width: 100%;
+ }
+ .realm-choice {
+ float: none;
+ }
+}