Skip to content

Commit

Permalink
fix: improves top info section in case and on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed Dec 12, 2024
1 parent 3921e4c commit aef68c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
.projectInfo {
display: flex;
flex-direction: row;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1rem;
row-gap: 3rem;
width: 100%;
max-width: var(--max-content-width-medium);

@media (max-width: 425px) {
flex-direction: column;
gap: 3rem;
}
margin: var(--padding-m) auto;
}

.projectInfoInner {
gap: 1.5rem;
display: flex;
flex-direction: column;
width: 50%;
}

.badgeWrapper {
Expand Down Expand Up @@ -70,7 +67,6 @@
flex-direction: column;
gap: 1.5rem;
flex-wrap: wrap;
width: 50%;
}

.preFancyCharacter {
Expand Down
1 change: 0 additions & 1 deletion src/utils/hooks/useScrollDirection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useEffect, useState } from "react";

export default function useScrollDirection() {
const [scrollDirection, setScrollDirection] = useState<string | null>(null);

useEffect(() => {
let lastScrollY = window.scrollY;

Expand Down

0 comments on commit aef68c0

Please sign in to comment.