Skip to content

Commit 7cec333

Browse files
author
Gene Hynson
authored
fix: styling of notebooks buttons (#3052)
* fix: styling of notebooks buttons * fix: node upgrade issue
1 parent d351b80 commit 7cec333

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

docker/Dockerfile.chronograf.prod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# from node latest alpine 3.12
2-
FROM node:alpine3.12 AS repo
1+
# from node lts alpine 3.12
2+
FROM node:lts-alpine3.12 AS repo
33

44
# env vars to configure the system
55

src/flows/components/header/SaveState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const SaveState: FC = () => {
3434
return (
3535
<Button
3636
text="Save Notebook"
37-
color={ComponentColor.Success}
37+
color={ComponentColor.Default}
3838
type={ButtonType.Submit}
3939
onClick={addFlow}
4040
status={ComponentStatus.Default}

src/flows/components/header/Submit.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
@import '@influxdata/clockface/dist/variables.scss';
22
@import '~src/flows/FlowVariables.scss';
33

4+
.submit-btn {
5+
width: 170px;
6+
}
7+
48
.submit-btn--item {
59
align-items: flex-start;
610
}

src/flows/components/header/Submit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const Submit: FC = () => {
4646
return (
4747
<ButtonGroup>
4848
<SubmitQueryButton
49+
className="submit-btn"
4950
text={runMode}
5051
icon={IconFont.Play}
5152
submitButtonDisabled={hasQueries === false}

src/flows/components/header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const FlowHeader: FC = () => {
205205
icon={IconFont.Share}
206206
onClick={showShare}
207207
color={
208-
!share ? ComponentColor.Default : ComponentColor.Secondary
208+
!share ? ComponentColor.Primary : ComponentColor.Secondary
209209
}
210210
titleText="Share Notebook"
211211
/>

0 commit comments

Comments
 (0)