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

Blazor proper collapsible sidebar suboption indentation #59449

Open
1 task done
yarmoliq opened this issue Dec 12, 2024 · 0 comments
Open
1 task done

Blazor proper collapsible sidebar suboption indentation #59449

yarmoliq opened this issue Dec 12, 2024 · 0 comments
Labels
area-blazor Includes: Blazor, Razor Components

Comments

@yarmoliq
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Currently there is no indentation for suboptions when using collapsible sidebar. There is an example of adding indentation for child options that uses padding on the left of the options. However, this results in an indentation when sidebar is collapsed:
Image

So you either have suboptions without indentation or a little ugly thingy :) or try to fix it by implementing a bicycle.

Describe the solution you'd like

I think the easiest and straightforward one is to just collapse category. However, I see other viable options:

  1. no indentation for child options in collapsed view
  2. small visible indentation in collapsed view, which results in a little bit wider collapsed sidebar (there has to be a tradeoff, right?)

Additional context

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

No branches or pull requests

1 participant