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

MudNavLink icons on mini variant of MudDrawer not staying in the same place when hovering the drawer #8919

Open
1 of 2 tasks
myllen opened this issue May 8, 2024 · 1 comment

Comments

@myllen
Copy link

myllen commented May 8, 2024

Bug type

Component

Component name

MudDrawer MudNavLink

What happened?

When the text of a MudNavLink contains more than 1 word, the hover animation moves the icons slightly due to the text being wrapped to multiple lines.

Expected behavior

I expected smooth animation with the icons staying in a fixed place upon hovering.

Issue can be fixed by adding following css properties to class mud-nav-link-text.

.mud-nav-link-text {
        overflow: hidden;
        white-space: nowrap;
}

Reproduction link

https://try.mudblazor.com/snippet/mEGeufkMdAvAftuW

Reproduction steps

  1. Use the Mini variant of MudDrawer
  2. Enable OpenMiniOnHover
  3. Add MudNavLink(s) with longer text

Relevant log output

No response

Version (bug)

6.19.1

Version (working)

No response

What browsers are you seeing the problem on?

Chrome

On which operating systems are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ScarletKuro
Copy link
Member

Hi.

Would you mind to create a PR with the fix?

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

No branches or pull requests

2 participants