diff --git a/rd_ui/app/styles/redash.css b/rd_ui/app/styles/redash.css index 8a0af319a8..e349ee30d8 100644 --- a/rd_ui/app/styles/redash.css +++ b/rd_ui/app/styles/redash.css @@ -243,6 +243,10 @@ to add those CSS styles here. */ display: block; } +.dashboards .dropdown-submenu:hover > .dropdown-menu { + display: flex; +} + .dropdown-submenu > a:after { display: block; content: " "; @@ -273,6 +277,34 @@ to add those CSS styles here. */ border-radius: 6px 0 6px 6px; } +.dashboards .dropdown-menu { + align-items: flex-start; + flex-direction: column; + flex-wrap: wrap; + justify-content: flex-start; + max-height: 500px; +} + +.dashboards.open > .dropdown-menu { + display: flex; +} + +.dashboards > .dropdown-menu { + width: 80vw; + align-items: flex-start; +} + +.dashboards .dropdown-menu > li a { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; +} + +.dashboards .dropdown-menu > li a, +.dashboards .dropdown-submenu > a { + width: 20vw; +} + .rd-tab .remove { cursor: pointer; color: #A09797; diff --git a/rd_ui/app/views/app_header.html b/rd_ui/app/views/app_header.html index 75c335295d..08556ca31c 100644 --- a/rd_ui/app/views/app_header.html +++ b/rd_ui/app/views/app_header.html @@ -11,7 +11,7 @@