Skip to content

Commit

Permalink
fix: section's mobile height issue
Browse files Browse the repository at this point in the history
A forgotten height: 100% was causing an issue on mobile - too much of a space under first section (avatar)
  • Loading branch information
codenomnom committed Sep 25, 2024
1 parent 649a8c7 commit 9bd8050
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import GithubIcon from "../images/icons/github.astro";
<MainLayout title="codenomnom">
<main class="flex w-full flex-col md:flex-row">
<section
class="left max-md:mb-2 md:w-2/5 lg:w-1/2 flex flex-col justify-start items-center px-6"
class="left max-md:mb-6 md:w-2/5 lg:w-1/2 flex flex-col justify-start items-center px-6"
>
<div class="max-h-48 md:max-h-[45dvh] md:min-h-48">
<Image
Expand Down Expand Up @@ -67,7 +67,6 @@ import GithubIcon from "../images/icons/github.astro";
background: #f5f5f5;
}
section {
height: 100%;
position: relative;
}
ul {
Expand Down

0 comments on commit 9bd8050

Please sign in to comment.