diff --git a/client/app/scripts/components/app.js b/client/app/scripts/components/app.js index 2e24fe8f4..b324ce059 100644 --- a/client/app/scripts/components/app.js +++ b/client/app/scripts/components/app.js @@ -124,6 +124,7 @@ class App extends React.Component { + @@ -131,7 +132,6 @@ class App extends React.Component { {showingMetricsSelector && !gridMode && } {showingNetworkSelector && !gridMode && } - diff --git a/client/app/styles/main.less b/client/app/styles/main.less index f7d98859f..7daedae92 100644 --- a/client/app/styles/main.less +++ b/client/app/styles/main.less @@ -1175,6 +1175,24 @@ h2 { } } +.grid-mode-selector { + margin-top: 8px; + margin-left: 8px; + + &-wrapper { + border-color: @background-darker-secondary-color; + } + + &-action { + background-color: transparent; + text-transform: uppercase; + + &-selected, &:hover { + background-color: @background-darker-secondary-color; + } + } +} + .topology-option { &-action { &-selected { @@ -1253,7 +1271,7 @@ h2 { transition: width 0.3s 0s @base-ease; &-wrapper { - flex: 0 1 25%; + flex: 0 1 20%; margin: 8px; text-align: right; }