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

[ui] Fix misc styling / unnecessary overrides following Blueprint update #25241

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

bengotow
Copy link
Collaborator

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.

Comment on lines +112 to +113
text-align: left;
flex: 1;
Copy link
Collaborator Author

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,
Copy link
Collaborator Author

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

Copy link

github-actions bot commented Oct 11, 2024

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-3xrqft0il-elementl.vercel.app
https://bengotow-2024-10-FE-615.components-storybook.dagster-docs.io

Built with commit 6c0b7c4.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Oct 11, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-qzinfgwut-elementl.vercel.app
https://bengotow-2024-10-FE-615.core-storybook.dagster-docs.io

Built with commit 6c0b7c4.
This pull request is being automatically deployed with vercel-action

@bengotow bengotow force-pushed the bengotow-2024-10/FE-615 branch from 4eb7170 to 6c0b7c4 Compare October 14, 2024 19:54
@bengotow bengotow merged commit e36eda4 into master Oct 21, 2024
3 checks passed
@bengotow bengotow deleted the bengotow-2024-10/FE-615 branch October 21, 2024 14:13
Grzyblon pushed a commit to Grzyblon/dagster that referenced this pull request Oct 26, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants