Skip to content

Conversation

petrhank
Copy link
Contributor

@crdo

Layout and Responsiveness Improvements:

  • Updated the hx-list-layout-header to include flex-wrap and flex-md-nowrap classes for better alignment and wrapping on smaller screens.
  • Added text-truncate and d-flex align-items-center classes to card-title elements to improve text truncation and alignment. [1] [2]
  • Enhanced the HxChipList component with flex-nowrap flex-md-wrap classes to adjust the chip layout based on screen size.
  • Introduced media queries in HxListLayout.razor.css to ensure proper layout adjustments, such as making the search template full-width and enabling horizontal scrolling for chip lists on small screens.
    NOTE: I didn't manage to find a solution using just bootstrap utility classes, because properties like width, overflow or flex-basis do not have responsive variants.

@petrhank petrhank requested a review from crdo May 12, 2025 13:58
Copy link
Member

@hakenr hakenr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hakenr hakenr merged commit 1dfe6a8 into master May 22, 2025
1 check passed
@hakenr hakenr deleted the feature/hxlistlayout-optimized-mobile-layout branch May 22, 2025 13:00
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

Successfully merging this pull request may close these issues.

3 participants