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

[website] Home page hero is overflowing with broswer zoom on 100% #38615

Closed
2 tasks done
Itsamanjain opened this issue Aug 23, 2023 · 9 comments
Closed
2 tasks done

[website] Home page hero is overflowing with broswer zoom on 100% #38615

Itsamanjain opened this issue Aug 23, 2023 · 9 comments
Labels
status: expected behavior Does not imply the behavior is intended. Just that we know about it and can't work around it website Pages that are not documentation-related, marketing-focused.

Comments

@Itsamanjain
Copy link

Itsamanjain commented Aug 23, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example:

Steps:

1.Go to website https://mui.com/material-ui/
2. on home page right part of hero content is overflowing display on 100% zoom of browser .
3. found in chrome as well as brave
Screenshot (151)

Current behavior 😯

Right part Hero content overflowing display on 100% zoom of browser.

Expected behavior 🤔

it should not overflow display on 100% zoom of browser .it is perfectly visible on 90% zoom of browser .

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
@Itsamanjain Itsamanjain added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Aug 23, 2023
@danilo-leal danilo-leal changed the title Bug: Hero content of Home page overflow on 100% zoom of browser . [website] Home page hero is overflowing with broswer zoom on 100% Aug 23, 2023
@danilo-leal danilo-leal added website Pages that are not documentation-related, marketing-focused. and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 23, 2023
@danilo-leal
Copy link
Contributor

Hey @Itsamanjain, thanks for opening this issue! You mean overflowing as in not being able to see every component demo, right? If that's the case, I wouldn't say it's a problem ⎯ these hero section components are meant to be more illustrative than anything, so that container changes its size depending on the viewport size (regardless it is from resizing the window or zooming in and out).

Let me know if this suffice in order to close the issue!

@Z3rio
Copy link

Z3rio commented Aug 23, 2023

Hey @Itsamanjain, thanks for opening this issue! You mean overflowing as in not being able to see every component demo, right? If that's the case, I wouldn't say it's a problem ⎯ these hero section components are meant to be more illustrative than anything, so that container changes its size depending on the viewport size (regardless it is from resizing the window or zooming in and out).

Let me know if this suffice in order to close the issue!

Yeah, that's how I understood the homepage as well.
I've always seen this section as just a cool/good-looking way of displaying some examples.
The fact that it overflows/goes outside of your screen in my opinion just makes it look better

(Assuming this issue refers to this section)
image

@danilo-leal
Copy link
Contributor

Yup, that's it @Z3rio, I'm glad we're on the same page! 🙏 The confusion is understandable, though, particularly because these components are interactive, but they're there really just for illustration purposes!

@Z3rio
Copy link

Z3rio commented Aug 23, 2023

Yup, that's it @Z3rio, I'm glad we're on the same page! 🙏 The confusion is understandable, though, particularly because these components are interactive, but they're there just for illustration purposes!

Perhaps something should be done to indicate that they are there as a decoration and not for them to be showcased/played around with (since there are better places for that).
(Whilst still keeping the old layout & style, since it looks fairly nice)

@aryanofficialjain
Copy link

@danilo-leal @Z3rio @Itsamanjain @jarib @alltom
check the website and zoom out to 80% then you see the component is overflow on the right side
this is not an illustration the all the hidden component are working
Screenshot from 2023-08-24 14-25-53

@Itsamanjain
Copy link
Author

@danilo-leal @Z3rio
I am unable to set it up locally. Please help. I cloned the repository and followed all the steps, but when I attempt to run yarn install, it displays various errors. Specifically, the file C:\Users\dell\AppData\Roaming\npm\yarn.ps1 cannot be loaded due to script execution being disabled on this system.

@Z3rio
Copy link

Z3rio commented Aug 24, 2023

@danilo-leal @Z3rio
I am unable to set it up locally. Please help. I cloned the repository and followed all the steps, but when I attempt to run yarn install, it displays various errors. Specifically, the file C:\Users\dell\AppData\Roaming\npm\yarn.ps1 cannot be loaded due to script execution being disabled on this system.

Sounds like an issue with yarn/npm.
Please take a look at and verify your installation of those.

@danilo-leal
Copy link
Contributor

@aryanofficialjain still a bit confused with what you mean by "this is not an illustration the all the hidden component are working" 😕 Are you referring to the components on the right-side container of the hero section or else? If yes, then it's what we were talking about: although they are interactive, they're mostly there for illustration purposes.

@Z3rio it's a good call to do something! One thing I considered in the past is, as you interact, or hover over, each component, you'd see a tooltip saying something like "this is an example! Want to see how to customize the ... component like this? Visit the docs". The drawback is that it would cloud things a bit, I think. Open to suggestions!

@aryanofficialjain
Copy link

@danilo-leal i am sorry for my mistake thanks to guide me i thought that is it a issue but it wouldn't

@oliviertassinari oliviertassinari added the status: expected behavior Does not imply the behavior is intended. Just that we know about it and can't work around it label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: expected behavior Does not imply the behavior is intended. Just that we know about it and can't work around it website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

No branches or pull requests

5 participants