-
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
Use MiddleTruncate component on Asset detail page #16961
Conversation
<span>{tag}</span> | ||
<div | ||
style={{ | ||
display: 'grid', |
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 opted to use display grid
over adding grow: 1
on the children components because I only have to set styles on the parent div rather than both the parent and the child divs, I also find it more reliable
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 seems fine to me! Maybe sometime soon we bake grid into Box
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 1d746c4. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 1d746c4. |
<span>{tag}</span> | ||
<div | ||
style={{ | ||
display: 'grid', |
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 seems fine to me! Maybe sometime soon we bake grid into Box
Summary & Motivation
How I Tested These Changes