Skip to content

Commit

Permalink
fix margin in back button (#217)
Browse files Browse the repository at this point in the history
Signed-off-by: Lior Soffer <[email protected]>
Co-authored-by: Lior Soffer <[email protected]>
  • Loading branch information
LiorSoffer and Lior Soffer authored Dec 22, 2024
1 parent ed334ce commit d6e5b1a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions workspaces/orchestrator/.changeset/silent-taxis-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-orchestrator-form-react': patch
---

fix margin in back button
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"dependencies": {
"@backstage/core-components": "^0.15.1",
"@backstage/core-plugin-api": "^1.10.0",
"@backstage/types": "^1.1.1",
"@material-ui/core": "^4.12.4",
"@red-hat-developer-hub/backstage-plugin-orchestrator-form-api": "workspace:^",
"@rjsf/core": "^5.21.2",
Expand All @@ -49,7 +50,6 @@
},
"devDependencies": {
"@backstage/cli": "0.28.2",
"@backstage/types": "^1.1.1",
"@types/json-schema": "7.0.15",
"@types/lodash": "^4.14.151",
"@types/react": "^18.2.58",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ import { useStepperContext } from '../utils/StepperContext';
import SubmitButton from './SubmitButton';

const useStyles = makeStyles(theme => ({
backButton: {
marginRight: theme.spacing(1),
},
footer: {
display: 'flex',
flexDirection: 'row',
Expand Down Expand Up @@ -70,7 +73,11 @@ const ReviewStep = ({
<StructuredMetadataTable dense metadata={displayData} />
<Box mb={4} />
<div className={styles.footer}>
<Button onClick={handleBack} disabled={busy}>
<Button
onClick={handleBack}
className={styles.backButton}
disabled={busy}
>
Back
</Button>
<SubmitButton
Expand Down

0 comments on commit d6e5b1a

Please sign in to comment.