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

Fix dialog overflows #61

Merged
merged 1 commit into from
Oct 15, 2021
Merged

Fix dialog overflows #61

merged 1 commit into from
Oct 15, 2021

Conversation

dominik-zeglen
Copy link
Contributor

@dominik-zeglen dominik-zeglen commented Oct 14, 2021

It seems #54 did not resolve issue in all places.

@vercel
Copy link

vercel bot commented Oct 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/saleorcommerce/macaw-ui/jVqHrFiV6s5aXhNpjBm1eyeq2SQP
✅ Preview: https://macaw-ui-git-fix-dialog-scrolls-saleorcommerce.vercel.app

@github-actions
Copy link
Contributor

github-actions bot commented Oct 14, 2021

size-limit report 📦

Path Size
dist/macaw-ui.cjs.production.min.js 42.54 KB (+0.05% 🔺)
dist/macaw-ui.esm.js 22.43 KB (+0.09% 🔺)

@dominik-zeglen dominik-zeglen requested review from a team, bmigirl and Droniu and removed request for a team October 14, 2021 11:30
@@ -58,6 +58,11 @@ export const createTheme = (colors: SaleorThemeColors): SaleorTheme =>
fontSize: "1.3rem",
},
},
MuiDialog: {
paper: {
overflowY: undefined,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does undefined accomplish here? What's the CSS prop value outcome? If it's "initial" then it would be best to type it manually.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It totally removes value from stylesheet, in my opinion it reduces css bloat

@dominik-zeglen dominik-zeglen merged commit e6a7e85 into main Oct 15, 2021
@dominik-zeglen dominik-zeglen deleted the fix-dialog-scrolls branch October 15, 2021 07:34
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.

None yet

5 participants