Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sx implementation on base screens to ensure we are using sx correctly #468

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

manojleaton
Copy link
Contributor

Fixes #BLUI-4305 .

Changes proposed in this Pull Request:

  • Updated sx in base screens

To Test:

  • yarn start:example

Any specific feedback you are looking for?

@github-actions github-actions bot added the brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering label Sep 8, 2023
@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Visit the preview URL for this PR (updated for commit b23dbc2):

https://blui-react-login--pr468-4305-update-sx-in-l1oh9g5u.web.app

(expires Wed, 13 Sep 2023 11:52:25 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1e9064d2e35ed37fe01e053587ea5f209719a043

position: 'relative',
borderRadius: { xs: 0, sm: '4px' },
},
...(Array.isArray(sx) ? sx : [sx]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this being removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per the discussion with Joe in Office hours, we just need to merge the sx prop which is being passed with the parent component not with the children components.

p: 0,
'& .MuiMobileStepper-dot': showStepperDots ? { my: 0, mx: 0.5 } : { display: 'none' },
},
...(Array.isArray(sx) ? sx : [sx]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this being removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as above

@daileytj daileytj merged commit 2b2fe68 into dev Sep 11, 2023
2 checks passed
@daileytj daileytj deleted the 4305---update-sx-in-base-screens branch September 11, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering
Development

Successfully merging this pull request may close these issues.

2 participants