Problematic aligning of context menu items #555

Closed
opened 2026-01-29 17:39:15 +00:00 by claunia · 1 comment
Owner

Originally created by @OndrejUzovic on GitHub (Sep 29, 2022).

After version 4.0 the aligning if items is set to center which breaks the behavior from previous versions. And it also looks strange.

image

instead of

image

The problem is the items in the context menu are explicitly aligned to the center.

image

Would it be possible to align them to 'start' so that the previous behavior is preserved?

Originally created by @OndrejUzovic on GitHub (Sep 29, 2022). After version 4.0 the aligning if items is set to center which breaks the behavior from previous versions. And it also looks strange. ![image](https://user-images.githubusercontent.com/55758368/192975700-86646929-5463-470a-a1fc-50af7188a07d.png) instead of ![image](https://user-images.githubusercontent.com/55758368/192975942-6deb9bad-da27-4038-ab1e-3ac39ae282b4.png) The problem is the items in the context menu are explicitly aligned to the center. ![image](https://user-images.githubusercontent.com/55758368/192976682-662b0354-72b6-4eaf-a84a-772ddd39482b.png) Would it be possible to align them to 'start' so that the previous behavior is preserved?
Author
Owner

@yordanov commented on GitHub (Sep 29, 2022):

The issue is fixed with 5ea729d0d0. Used align-items: stretch so that items are stretched across the width of the menu.

@yordanov commented on GitHub (Sep 29, 2022): The issue is fixed with https://github.com/radzenhq/radzen-blazor/commit/5ea729d0d063d31036ec4458ee38dc407761c896. Used `align-items: stretch` so that items are stretched across the width of the menu.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#555