Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Slightly increase firefox text measuring tolerance (#18240)
## Summary & Motivation I've noticed that in one of my test DAGs, these are always unnecessarily truncated in the sidebar in Firefox: ![image](https://github.com/dagster-io/dagster/assets/1037212/616737ac-18be-4aa0-9d0d-65eaeead016d) We already have a permitted measurement variance because the canvas API and the DOM API return slightly different string widths, and this just bumps that constant up a bit, to the minimum value that renders these example strings correctly. ## How I Tested These Changes ![image](https://github.com/dagster-io/dagster/assets/1037212/72d37bf1-7256-4960-95b3-e663b985f622) Also put these in our existing stories as new test cases --------- Co-authored-by: bengotow <[email protected]>
- Loading branch information
95f77ed
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.
Deploy preview for dagit-storybook ready!
✅ Preview
https://dagit-storybook-d9x3z8moa-elementl.vercel.app
Built with commit 95f77ed.
This pull request is being automatically deployed with vercel-action