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

Bugfix: Lesson title would collide with search box at certain widths. #113

Merged

Conversation

Robadob
Copy link
Contributor

@Robadob Robadob commented Dec 8, 2023

Before
image

After
image

The rule sits within a media breakpoint so is only active between window widths 768-1200px, otherwise that particular element is display: none. Likewise, the search box appears to have a static size/position whilst visible (although the green magnifying glass does alot of walking about at widths >1200px). So I don't think this will introduce any new issues.

Closes #84

@zkamvar
Copy link
Contributor

zkamvar commented Dec 8, 2023

Would you mind ammending the NEWS.md file with your contribution?

@zkamvar
Copy link
Contributor

zkamvar commented Dec 8, 2023

Likewise, the search box appears to have a static size/position whilst visible (although the green magnifying glass does alot of walking about at widths >1200px).

This has been one of those frustrating bugs from the initial design that I haven't been able to pin down very well 😞

@Robadob Robadob force-pushed the bugfix_lessontitle_search_collision branch from 94cea23 to 29fa875 Compare December 8, 2023 18:30
@Robadob
Copy link
Contributor Author

Robadob commented Dec 8, 2023

Would you mind ammending the NEWS.md file with your contribution?

Sorted.

Robadob added a commit to RSE-Sheffield/uos-varnish that referenced this pull request Dec 8, 2023
@zkamvar
Copy link
Contributor

zkamvar commented Dec 12, 2023

Thank you! I think this is a good solution.

@zkamvar zkamvar merged commit 1158abb into carpentries:main Dec 12, 2023
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.

Lesson title div does not take into account size of searchbox
2 participants