Fix horizontal scrollbar on security roles with long names #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The security roles component was showing horizontal scrollbars when role names were long, instead of allowing the text to wrap naturally. This was caused by
overflow-x-autoclasses and thetruncateclass that prevented proper text wrapping.Problem
As shown in the original issue, long role names like "Fondsadministration" were being truncated with ellipsis and causing horizontal scrollbars to appear:
Solution
Made minimal changes to the SecurityRoles component:
overflow-x-autoclasses from both the main container and privilege icons containertruncateclass from the role name paragraph to allow text wrappingResult
The component now allows long security role names to wrap naturally across multiple lines while maintaining responsive design across all screen sizes:
Desktop (1200px):

Tablet (800px):

Mobile (375px):

✅ No horizontal scrollbars appear regardless of role name length
✅ Text wraps naturally instead of being truncated
✅ Responsive design is maintained across all screen sizes
✅ Layout remains clean and organized
Fixes #36.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.