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-14 15:42:02 +0000
commit9b28ab402802e9848f5824b04d85cf4292f738d3 (patch)
treebff6a294079493d2528c63d8dfb900377a6d1591
parent420eaa5bace41a5d7a5313e5bd17e730d701c273 (diff)
downloadhorizon-9b28ab402802e9848f5824b04d85cf4292f738d3.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
-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 {