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

style: fix footer alignment on smaller screen #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function FooterUi() {
<div className="mx-auto max-w-screen-2xl overflow-hidden px-6 py-4 lg:px-8">
<nav
aria-label="Footer"
className="-mb-6 columns-2 sm:flex sm:justify-center sm:space-x-12"
className="-mb-6 flex flex-wrap justify-center gap-5"
>
{footerLinks.map((item) => (
<div key={item.title} className="pb-6">
Expand All @@ -58,12 +58,12 @@ function FooterUi() {
</div>
))}
</nav>
<div className="mt-8 flex justify-center space-x-10">
<div className="mt-8 flex flex-wrap gap-5 justify-center">
{socialMediaLinks.map((item, idx) => {
const { Icon, Link: link } = item
return (
<Link
key={link}
key={link}
href={link}
className="text-gray-400 hover:text-gray-500"
target="_blank"
Expand Down