File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
packages/app/src/app/pages/Sandbox/Editor/Workspace/screens Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,15 @@ export const EditSummary = ({ setEditing }) => {
9090 < TagInput value = { newTags } onChange = { setNewTags } />
9191 </ Stack >
9292
93- < Stack paddingX = { 2 } >
94- < Button variant = "link" onClick = { ( ) => setEditing ( false ) } >
93+ < Stack justify = "space-between" paddingX = { 2 } >
94+ < Button
95+ variant = "link"
96+ css = { { flex : 1 } }
97+ onClick = { ( ) => setEditing ( false ) }
98+ >
9599 Cancel
96100 </ Button >
97- < Button type = "submit" variant = "secondary" >
101+ < Button type = "submit" css = { { flex : 1 } } variant = "secondary" >
98102 Save
99103 </ Button >
100104 </ Stack >
Original file line number Diff line number Diff line change @@ -63,11 +63,20 @@ export const VarForm = props => {
6363 </ FormField >
6464 < Stack paddingX = { 2 } marginTop = { 2 } >
6565 { props . name && props . value ? (
66- < Button variant = "link" onClick = { ( ) => props . onCancel ( ) } >
66+ < Button
67+ variant = "link"
68+ css = { { flex : 1 } }
69+ onClick = { ( ) => props . onCancel ( ) }
70+ >
6771 Cancel
6872 </ Button >
6973 ) : null }
70- < Button variant = "secondary" type = "submit" disabled = { ! name || ! value } >
74+ < Button
75+ type = "submit"
76+ variant = "secondary"
77+ css = { { flex : 1 } }
78+ disabled = { ! name || ! value }
79+ >
7180 { props . name && props . value ? 'Save' : 'Add Secret' }
7281 </ Button >
7382 </ Stack >
You can’t perform that action at this time.
0 commit comments