From 3a6e1f15c67cda3891d53693a1fa5d84a8a78a1a Mon Sep 17 00:00:00 2001 From: Tatiana Ovchinnikova Date: Tue, 4 May 2021 11:37:05 -0500 Subject: 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) --- openstack_dashboard/static/dashboard/scss/components/_membership.scss | 2 ++ 1 file changed, 2 insertions(+) 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 { -- cgit v1.2.1