RefreshPicker: minor design update (#16774)

Fixes #16627
This commit is contained in:
Torkel Ödegaard
2019-04-25 22:22:20 +02:00
committed by GitHub
parent 470634e2d6
commit ccffe0e9cc
3 changed files with 12 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ export class RefreshPicker extends PureComponent<Props> {
const cssClasses = classNames({
'refresh-picker': true,
'refresh-picker--refreshing': selectedValue.label !== offOption.label,
'refresh-picker--off': selectedValue.label === offOption.label,
});
return (

View File

@@ -6,6 +6,10 @@
display: flex;
}
.navbar-button--refresh {
border-right: 0;
}
.gf-form-input--form-dropdown {
position: static;
}
@@ -16,9 +20,13 @@
width: 100%;
}
&--refreshing {
.select-button-value {
color: $orange;
}
&--off {
.select-button-value {
color: $orange;
display: none;
}
}