summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com>2021-05-04 11:37:05 -0500
committerTravis Neely <travis.neely@att.com>2021-09-21 15:06:40 +0000
commit3a6e1f15c67cda3891d53693a1fa5d84a8a78a1a (patch)
tree8c7594b284f9d67be42e644def3b13096ad833df
parent774800c1b6a974da99cf7def554e8a1ae52dd61e (diff)
downloadhorizon-3a6e1f15c67cda3891d53693a1fa5d84a8a78a1a.tar.gz
Add horizontal scrollbar to role dropdown
Manage members dialog has a dropdown which lists all the role names. If a role name is long enough, it pushes all the roles to the left and hides them partially. This patch adds horizontal scrollbar for such cases. Closes-Bug: #1926511 Change-Id: I1bbf3b23717f9924974920d6569e018b94e3dbe8 (cherry picked from commit 9b28ab402802e9848f5824b04d85cf4292f738d3)
-rw-r--r--openstack_dashboard/static/dashboard/scss/components/_membership.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack_dashboard/static/dashboard/scss/components/_membership.scss b/openstack_dashboard/static/dashboard/scss/components/_membership.scss
index cc0ad7f78..ac0349286 100644
--- a/openstack_dashboard/static/dashboard/scss/components/_membership.scss
+++ b/openstack_dashboard/static/dashboard/scss/components/_membership.scss
@@ -137,6 +137,8 @@
.role_dropdown {
right: 0;
left: auto;
+ max-width: 300px;
+ overflow-x: auto;
& > li {
.fa-check {