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

Experimental Variable and Group Cards sizing stays consistent independent of screen size #827

Merged
merged 5 commits into from
Sep 30, 2024

Conversation

Steffengreiner
Copy link
Contributor

What was changed

In the current build, the cards try to resize dependent on the screen width. This can lead to content overflow.

Screen.Recording.2024-09-05.at.16.37.57.mov

This PR aims to fix this by allowing the css grid to easier adjust the card position if the screen width changes:

Screen.Recording.2024-09-05.at.16.38.30.mov

Open Question

Why is the overflow not in the card collection itself?

For this i opened a seperate issue #826 , since it relates to how the data manager application handles component sizing.
Currently we don't enforce a screen width and height for the content container. Therefore the components can grow in size, leading to an overflow scrollbar on the content container. To change this an entire rewrite of the application structure would be necessary.

@Steffengreiner Steffengreiner requested a review from a team as a code owner September 5, 2024 14:43
@github-actions github-actions bot added the fix label Sep 5, 2024
Copy link

@sven1103
Copy link
Contributor

The PR solves the original issue, hence I will approve it.

However I do not understand, why we address an issue of many variables, which imo is an artificial problem. As users already told us, most of them will have probably 1-3 variables.

This will then look like this on a 4k screen:

image

Maybe @Shraddha0903 , this is something worth to rethink?

@Steffengreiner Steffengreiner merged commit a7560bf into development Sep 30, 2024
4 checks passed
@Steffengreiner Steffengreiner deleted the fix/dm-744-scrollable-experimental-cards branch September 30, 2024 12:50
@KochTobi KochTobi mentioned this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants