diff --git a/frontend/public/components/monitoring/_monitoring.scss b/frontend/public/components/monitoring/_monitoring.scss index 5d0256bbaf9..b4ea1bb3e89 100644 --- a/frontend/public/components/monitoring/_monitoring.scss +++ b/frontend/public/components/monitoring/_monitoring.scss @@ -1,6 +1,5 @@ .query-browser__toggle-graph { - padding-right: 0; - margin-bottom: 8px; + margin-bottom: 5px; float: right; } @@ -10,16 +9,12 @@ } .query-browser__clear-icon { - border: none; - color: $color-pf-black-600; - font-size: 18px; - height: 18px; - line-height: 18px; - padding: 0; - position: absolute; - right: 6px; - top: 6px; - width: 18px; + font-size: 18px !important; + padding: 4px !important; + position: absolute !important; + right: 0; + top: 0; + width: 30px; } .query-browser__dropdown--subtitle { @@ -29,13 +24,10 @@ .query-browser__expand-button { border: none; height: 30px; - margin-left: 18px; - padding: 0; - width: 30px; + padding: 0 14px !important; // align with series buttons } .query-browser__expand-icon { - color: $color-pf-black-600; font-size: 30px; vertical-align: middle; } @@ -87,7 +79,7 @@ .query-browser__query { line-height: 1; - margin: 0 15px; + margin: 0 15px 0 0; width: 100%; } @@ -100,7 +92,7 @@ } .query-browser__query-input { - padding-right: 24px !important; + padding-right: 28px !important; resize: vertical; } @@ -121,9 +113,10 @@ border: 1px solid transparent; border-radius: var(--pf-global--BorderRadius--sm); height: 20px; + padding: 0 !important; width: 20px; &--disabled { - border-color: #888; + border: 1px solid #888 !important; } } diff --git a/frontend/public/components/monitoring/metrics.tsx b/frontend/public/components/monitoring/metrics.tsx index 00ca71adee7..c1a5e7ba9b6 100644 --- a/frontend/public/components/monitoring/metrics.tsx +++ b/frontend/public/components/monitoring/metrics.tsx @@ -191,9 +191,14 @@ const ToggleGraph_ = ({ hideGraphs, toggle }) => { const icon = hideGraphs ? : ; return ( - + ); }; export const ToggleGraph = connect( @@ -263,18 +268,19 @@ const MetricsDropdown = connect( const ExpandButton = ({ isExpanded, onClick }) => { const title = `${isExpanded ? 'Hide' : 'Show'} Table`; return ( - + ); }; @@ -310,7 +316,7 @@ const SeriesButton_: React.FC = ({ return (
-
); @@ -443,14 +450,15 @@ const QueryInput_: React.FC = ({ spellCheck={false} value={text} /> - + {!_.isEmpty(allSuggestions) && (
    {_.map(allSuggestions, (suggestions, title) => ( diff --git a/frontend/public/components/sidebars/explore-type-sidebar.tsx b/frontend/public/components/sidebars/explore-type-sidebar.tsx index 3b534a067ea..d9e6880bb19 100644 --- a/frontend/public/components/sidebars/explore-type-sidebar.tsx +++ b/frontend/public/components/sidebars/explore-type-sidebar.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import * as _ from 'lodash-es'; -import { Breadcrumb, BreadcrumbItem } from '@patternfly/react-core'; +import { Breadcrumb, BreadcrumbItem, Button } from '@patternfly/react-core'; import { getDefinitionKey, @@ -94,13 +94,14 @@ export const ExploreType: React.FC = (props) => { {isLast ? ( crumb ) : ( - + )} ); @@ -135,13 +136,14 @@ export const ExploreType: React.FC = (props) => {

    )} {path && ( - + )} );