Skip to content

Commit

Permalink
chore: align headers in FeaturesSection components for better respons…
Browse files Browse the repository at this point in the history
…iveness
  • Loading branch information
kuizuo committed Jun 17, 2024
1 parent 0df1a24 commit b3e7dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/landing/FeaturesSection/Github.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Github({ className }: GithubProps) {

return (
<div className={className}>
<h2 className="mb-2 flex items-center gap-1 px-4 text-base">
<h2 className="mb-2 flex items-center gap-1 justify-center md:justify-start md:px-4 text-base">
<Icon icon="ri:github-line" />
<Translate id="homepage.feature.github.title">Github</Translate>
</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/components/landing/FeaturesSection/Skill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import IconCloud from '../../magicui/icon-cloud'
export default function Skill({ className }: { className?: string }) {
return (
<div className={className}>
<h2 className="mb-2 flex items-center gap-1 text-base">
<h2 className="mb-2 flex items-center gap-1 text-base justify-center md:justify-start" >
<Icon icon="carbon:tool-kit" />
<Translate id="homepage.feature.skill.title">技术栈</Translate>
</h2>
Expand Down

0 comments on commit b3e7dbe

Please sign in to comment.