-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[ui] Fix misc styling / unnecessary overrides following Blueprint update #25241
Conversation
text-align: left; | ||
flex: 1; |
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.
I changed our <Button>
label child to be "flex: 1" so that the right icon is always right-justified when a fixed-width or full-width is applied to the button. Looking over a lot of our overrides in Cloud I think this will remove the need for a good chunk of them.
@@ -15,6 +16,7 @@ interface Props extends Omit<React.ComponentPropsWithRef<'input'>, 'onChange'> { | |||
export const TextInput = React.forwardRef( | |||
(props: Props, ref: React.ForwardedRef<HTMLInputElement>) => { | |||
const { | |||
fill, |
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.
This is an option on Button and Select and it will allow us to clean up two more custom CSS overrides in Plus -- because there's a container div on line 29 that doesn't take any external styles, it's been difficult to make a full-width input
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 6c0b7c4. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 6c0b7c4. |
4eb7170
to
6c0b7c4
Compare
…ate (dagster-io#25241) ## Summary & Motivation https://linear.app/dagster-labs/issue/FE-615/fix-text-wrapping-issues-in-buttons-on-ui-pages ## How I Tested These Changes Tested these callsites manually in OSS. Co-authored-by: bengotow <[email protected]>
Summary & Motivation
https://linear.app/dagster-labs/issue/FE-615/fix-text-wrapping-issues-in-buttons-on-ui-pages
How I Tested These Changes
Tested these callsites manually in OSS.