Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix bug with grid rows and breakpoints #830

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

jernestmyers
Copy link
Contributor

@jernestmyers jernestmyers commented Feb 7, 2024

Our breakpoints targeting the grid layout are off. On the live site, notice how changing between the workspace tabs for all datasets to new upload jumps the page:

Screen.Recording.2024-02-07.at.10.00.42.AM.mov

I reverted an old change I made to default-layout that added the !important attribute. It was a hack that masked other problems. Somehow it seems Ortho is using just the default layout grid, even on the homepage, without issue.

As for genomics, I made specific changes to breakpoint logic that fixes the original issue that the !important attribute aimed to fix, which was the "ghost" effect of the hamburger menu rendering without the site header's background behind it, and it fixed the jumping effect that prompted this investigation. I also moved a breakpoint that is intended to target the homepage grid areas but was actually being applied sitewide.

@jernestmyers jernestmyers force-pushed the style/fix-grid-layout-bug branch from 77f41cf to 0d095ec Compare February 8, 2024 18:24
@jernestmyers jernestmyers marked this pull request as ready for review February 8, 2024 18:35
@jernestmyers jernestmyers requested a review from dmfalke February 8, 2024 18:35
Copy link
Member

@dmfalke dmfalke left a comment

Choose a reason for hiding this comment

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

From what I can tell, everything looks good. Nice work!

@jernestmyers jernestmyers merged commit 5c36a85 into main Feb 9, 2024
1 check passed
@jernestmyers jernestmyers deleted the style/fix-grid-layout-bug branch February 9, 2024 19:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants