diff options
author | Tatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com> | 2021-05-04 11:37:05 -0500 |
---|---|---|
committer | Travis Neely <travis.neely@att.com> | 2021-09-21 15:12:50 +0000 |
commit | a15cd2e67924027beb94c30e798139e84a1ef8e8 (patch) | |
tree | 30e361064d7c02a1fd221d0da3536762668e4485 | |
parent | fbc27e4a0aad2b607e40934a6f92463883306685 (diff) | |
download | horizon-a15cd2e67924027beb94c30e798139e84a1ef8e8.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.scss | 2 |
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 { |