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

Improved styling and functionality of application cards display #3003

Merged

Conversation

Mahmoud-Emad
Copy link
Contributor

@Mahmoud-Emad Mahmoud-Emad commented Jun 23, 2024

Description

Improved styling and functionality of application cards display

Changes

  • Introduced a new component called 'ApplicationCards' to manage the display of application cards.
  • Implemented dynamic card height adjustment based on the tallest card to ensure consistent appearance.
  • Added functionality to detect the current viewport size (mobile or desktop) and adjust card heights accordingly for better responsiveness and user experience.

Related Issues

Screenshots/Video

  • image

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

- Introduced a new component called 'ApplicationCards' to manage the display of application cards.
- Implemented dynamic card height adjustment based on the tallest card to ensure consistent appearance.
- Added functionality to detect the current viewport size (mobile or desktop) and adjust card heights accordingly for better responsiveness and user experience.
@Mahmoud-Emad Mahmoud-Emad force-pushed the development_2.6_responsive_application_cards branch from 1a19b4a to 59a53cb Compare June 23, 2024 08:12
Copy link
Contributor

@amiraabouhadid amiraabouhadid left a comment

Choose a reason for hiding this comment

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

please make sure all text is completely visible at every screen size. text ("footprint") here is overflowing the card
image

- Dynamically set card heights based on the length of the tallest card to ensure a consistent layout.
- Modify the flex system to make the 'md' view span the full width of the container for improved responsiveness and visual appeal.
@amiraabouhadid
Copy link
Contributor

@Mahmoud-Emad please fix merge conflicts

- Removed unnecessary flare field.
- Optimized card style for large screens.
@Mahmoud-Emad
Copy link
Contributor Author

@Mahmoud-Emad please fix merge conflicts

Done, fixed

Copy link
Contributor

@amiraabouhadid amiraabouhadid left a comment

Choose a reason for hiding this comment

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

please make the spacing consistent with the other cards. for instance, the bottom spacing is much larger here
image
than here
image

- Removed the tallest Card concept.
- Set a default height of 200 and fixed the responsiveness.
- Removed the mobile view checker.
@Mahmoud-Emad Mahmoud-Emad force-pushed the development_2.6_responsive_application_cards branch from 4bcbaa2 to 6e5c58f Compare June 26, 2024 08:35
@Mahmoud-Emad Mahmoud-Emad merged commit 62ff834 into development_2.6 Jun 26, 2024
4 checks passed
@Mahmoud-Emad Mahmoud-Emad deleted the development_2.6_responsive_application_cards branch June 26, 2024 09:19
@xmonader xmonader added this to the 2.6.0 milestone Sep 24, 2024
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.

6 participants