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

make footer contact links responsive #83

Merged
merged 3 commits into from
Apr 2, 2022
Merged

make footer contact links responsive #83

merged 3 commits into from
Apr 2, 2022

Conversation

meleu
Copy link
Contributor

@meleu meleu commented Apr 2, 2022

When we put a bunch of links inside data/config.yaml we can see a horizontal scrolling like this:

image

This happens because in layouts/partials/contact.html the links are generated with no spaces between them.

I managed to solve this adding a ​ between each link. Here's how it looks now:
image

Copy link
Owner

@jackyzha0 jackyzha0 left a comment

Choose a reason for hiding this comment

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

Hi @meleu, thanks for this contribution! I would prefer to avoid special HTML entities wherever possible :) Could you wrap the <a> tags in the footer with a <ul> and then styling the list elements to all be inline-blocks? This should solve the line break problem in a more semantically meaningful manner

@jackyzha0
Copy link
Owner

Thanks for the speedy update :))

@jackyzha0 jackyzha0 merged commit 8e083d4 into jackyzha0:hugo Apr 2, 2022
@meleu
Copy link
Contributor Author

meleu commented Apr 2, 2022

wow! are you a robot? 🤖

thanks again for creating quartz! ❤️

@meleu meleu changed the title make pages more responsive separating contact links with &ZeroWidthSpace; make footer contact links responsive Apr 2, 2022
@meleu meleu deleted the patch-2 branch April 2, 2022 21:57
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.

None yet

2 participants