From 0fc0106cc757739c0cf873802850dbcc9ff56514 Mon Sep 17 00:00:00 2001 From: mabashian Date: Tue, 5 Mar 2019 11:25:05 -0500 Subject: [PATCH 1/2] Fix dashboard dropdowns after bootstrap upgrade --- .../graphs/dashboard-graphs.block.less | 6 +++ .../graphs/dashboard-graphs.partial.html | 18 ++++++--- .../job-status/job-status-graph.directive.js | 37 ++++++++----------- 3 files changed, 34 insertions(+), 27 deletions(-) diff --git a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less index 9c5ec38941..e4acd76995 100644 --- a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less +++ b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less @@ -99,6 +99,10 @@ text-transform: uppercase; transition: background-color 0.2s; width: 100%; + + > span { + width: 100%; + } } .DashboardGraphs-filterDropdownText:hover { @@ -110,6 +114,8 @@ font-size: 12px; width: 20px; padding: 0 10px; + float: right; + margin-top: 1px; } .DashboardGraphs-filterDropdownItems { diff --git a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html index 1a2281b89a..d9fac74d47 100644 --- a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html +++ b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html @@ -12,7 +12,10 @@ data-target="#" href="/page.html" class="DashboardGraphs-filterDropdownText"> - Past Month + + Past Month + +