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

Footer does not display properly on small screens #7

Open
Peng-Yujie opened this issue Mar 20, 2024 · 0 comments
Open

Footer does not display properly on small screens #7

Peng-Yujie opened this issue Mar 20, 2024 · 0 comments

Comments

@Peng-Yujie
Copy link

Description

The footer links get wrapped when the page is not wide enough.

Screenshots

image

Solution

flex-wrap for the outer div might be an easy solution for this matter. It works for me.

<div className="flex flex-wrap">
  {footerLinks.map((link, i) => (
    <p key={link} className="font-semibold text-gray text-xs">
      {link}{' '}
      {i !== footerLinks.length - 1 && (
        <span className="mx-2"> | </span>
      )}
    </p>
  ))}
</div>
image
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

No branches or pull requests

1 participant