Skip to content

Commit

Permalink
fix: fix css in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
ljc1991 committed Oct 31, 2023
1 parent ba43182 commit 1cc461d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions homepage/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ code {
margin-left: 1rem;
}
.logo-margin {
margin: 0 15px;
margin: 0 1rem;
}
.avatar {
margin: 0.5rem auto;
Expand Down Expand Up @@ -988,9 +988,6 @@ code {
.logos {
flex-wrap: wrap;
}
.logo-margin {
margin: 10px auto;
}
}
@media only screen and (max-width: 568px) {
.photos-page-list .item {
Expand Down Expand Up @@ -1024,6 +1021,9 @@ code {
.blogs-list .item .inner .details .title {
font-size: 20px;
}
.logo-margin {
margin: 0.25rem auto;
}
}
@media only screen and (max-width: 480px) {
/* .image-and-text-main .left img{height:400px} */
Expand Down
2 changes: 1 addition & 1 deletion homepage/src/components/logo.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from 'next/image';

const Logo = ({ text, src, dimension }) => (
<div className="flex flex-row flex-align-center logo-margin">
<div className="d-flex align-items-center logo-margin">
<span className="logo-title">{text}</span>
<Image
className="logo-image"
Expand Down
2 changes: 1 addition & 1 deletion homepage/src/layouts/footer/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Footer = ({ siteData, footer }) => {
<FooterLinks links={links} />
<span>{siteData.title}</span>
<SocialMedia />
<div className="d-flex flex-row flex-justify-center logos margin-2-percent">
<div className="d-flex justify-content-center logos margin-2-percent">
{logos.map((logo) => (
<Logo
key={logo.text}
Expand Down
2 changes: 1 addition & 1 deletion homepage/src/layouts/footer/footerLinks.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from 'next/link';

const FooterLinks = ({ links }) => (
<div className="flex flex-row gap">
<div className="d-flex gap">
{links.map((link) => (
<Link
href={link.url}
Expand Down

0 comments on commit 1cc461d

Please sign in to comment.