Skip to content

Commit 5606a20

Browse files
feat(VEOHeader): Add Timezone switcher to the header (#5903)
* feat(VEOHeader): Add TimeZone selector to the header * chore: prettier * chore: import
1 parent 1e368af commit 5606a20

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/dashboards/components/VEO.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
align-items: stretch;
2626
width: 100%;
2727
flex: 1 0 0;
28+
padding-left: $cf-space-l;
29+
padding-right: $cf-space-l;
2830
padding-bottom: $cf-space-s;
2931
}
3032

src/dashboards/components/VEOHeader.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
} from '@influxdata/clockface'
1313
import VisOptionsButton from 'src/timeMachine/components/VisOptionsButton'
1414
import ViewTypeDropdown from 'src/timeMachine/components/ViewTypeDropdown'
15+
import TimeZoneDropdown from 'src/shared/components/TimeZoneDropdown'
1516

1617
// Constants
1718
import {
@@ -48,6 +49,7 @@ class VEOHeader extends PureComponent<Props> {
4849
<VisOptionsButton />
4950
</Page.ControlBarLeft>
5051
<Page.ControlBarRight>
52+
<TimeZoneDropdown />
5153
<SquareButton
5254
icon={IconFont.Remove_New}
5355
onClick={onCancel}

0 commit comments

Comments
 (0)