Skip to content

Commit

Permalink
Use full screen height for about section on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
deadrime committed Feb 23, 2024
1 parent b8d1330 commit 3a874e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions components/AboutSection/AboutSection.module.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.wrapper {
min-height: calc(100vh - 9rem);

@media screen(sm) {
min-height: initial;
}
}

.blobs {
--color1: rgb(var(--color-primary));
--color2: #de5e82;
Expand Down
2 changes: 1 addition & 1 deletion components/AboutSection/AboutSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SvgSloth from '@/svgComponents/Sloth';

const AboutSection = () => {
return (
<section className="flex flex-col relative test">
<section className={classNames("flex flex-col relative", styles.wrapper)}>
<div className="flex flex-col">
<span className="flex items-center gap-2">
<div className="rounded-full bg-green size-[0.625rem]" />
Expand Down

0 comments on commit 3a874e3

Please sign in to comment.