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] Toggle button's border not correct in the homepage #40727

Closed
KyleKlus opened this issue Jan 21, 2024 · 2 comments · Fixed by #40744
Closed

[website] Toggle button's border not correct in the homepage #40727

KyleKlus opened this issue Jan 21, 2024 · 2 comments · Fixed by #40744
Assignees
Labels
website Pages that are not documentation-related, marketing-focused.

Comments

@KyleKlus
Copy link

KyleKlus commented Jan 21, 2024

Steps to reproduce

Link to live example: https://mui.com/

Steps:

  1. Click on middle or left most button on the toggle button group
  2. Then you can see, that the right border of the active state is hidden.

Current behavior

The right border of the active state within the toggle button group on the mui promo page is not visible.
This is because of an margin-left: -1px on the middle button. If you would remove the margin-left, then the border will be show, but the separation line between the buttons will get twice as thic.

MUI_Button_wrong

Expected behavior

The right border should be visible.
MUI_Button_correct

Context

I was just browsing around on the site, using the edge browser and then I saw this unexpected behavior.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

I used edge version Version 121.0.2277.49 .

Search keywords: Bug in promo website of mui

Search keywords:

@KyleKlus KyleKlus added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 21, 2024
@Janpot Janpot transferred this issue from mui/mui-public Jan 21, 2024
@EyaOuenniche
Copy link
Contributor

I would like to work this bug would you please assign it to me?

@zannager zannager added the website Pages that are not documentation-related, marketing-focused. label Jan 22, 2024
@mohamedsaiedd
Copy link
Contributor

mohamedsaiedd commented Jan 22, 2024

fixed this bug in #40744 ,
Thank you ! @KyleKlus

@danilo-leal danilo-leal changed the title Bug in promo website of mui [website] Toggle button's border not correct in the homepage Jan 22, 2024
@danilo-leal danilo-leal removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants