Skip to content

Make the 'Our Sponsors' section responsive #301

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mbvgua
Copy link

@mbvgua mbvgua commented May 11, 2025

Add the css property overflow:hidden to the links in our sponsors section. This eliminates its overflowing that leads to displaying an empty giant chunk on the rightmost side of the website homepage when opened on smaller screens.

This is in reference to issue: #300

Managed to trace the bug to the 'Our Sponsors' section:
Screenshot From 2025-05-11 15-57-29

The red outline is where the image div is supposed to end, the words clearly overflow out of the div and into the other page contants. I rectified this by using a media query in the docs/.vuepress/styles/index.scss that changes display style from flex to block on smaller screens. This enables one to set the overflow property to hidden, and it will look like this:

Screenshot From 2025-05-11 18-06-36

Note

I used multiple sponsors to see how it will react to future changes, but it will work the same for a single sponsor.
The yellow outline is the links section and the red outline is a single image section

Add the css property 'overflow:hidden' to the links in our
sponsors section. This eliminates its overflowing that leads to
displaying an empty giant chunk on the rightmost side of the website
homepage when opened on smaller screens.
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.

1 participant