Skip to content

Commit

Permalink
justify-content: center on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
deadrime committed Feb 23, 2024
1 parent 3a874e3 commit 660635b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions components/AboutSection/AboutSection.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
.wrapper {
min-height: calc(100vh - 9rem);
/* 5rem header + 2rem padding y */
min-height: calc(100vh - 7rem);
padding-bottom: 5rem;
justify-content: center;

@media screen(sm) {
@media screen(md) {
min-height: initial;
padding-bottom: initial;
justify-content: start;
}
}

Expand Down
2 changes: 1 addition & 1 deletion components/Technologies/Technologies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const data = [

const Technologies = () => {
return (
<section className="mt-12 md:mt-40">
<section className="md:mt-40">
<h2 className="font-primary text-xl font-normal">
С чем работал
</h2>
Expand Down

0 comments on commit 660635b

Please sign in to comment.