-
Notifications
You must be signed in to change notification settings - Fork 8
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
Conversation
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 |
login-workflow/src/components/PasswordTextField/PasswordTextField.tsx
Outdated
Show resolved
Hide resolved
position: 'relative', | ||
borderRadius: { xs: 0, sm: '4px' }, | ||
}, | ||
...(Array.isArray(sx) ? sx : [sx]), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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]), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as above
Fixes #BLUI-4305 .
Changes proposed in this Pull Request:
To Test:
Any specific feedback you are looking for?