Skip to content

Commit

Permalink
fix: Resolve responsive layout issues on homepage (#11)
Browse files Browse the repository at this point in the history
Adjusted CSS media queries and flexbox/grid properties to improve the responsiveness of the homepage layout. This includes fixing overlapping text and images on smaller screens, aligning sections properly across different devices, and ensuring interactive elements are accessible and visible on all screen sizes. Tested across various devices to ensure a seamless user experience.
  • Loading branch information
DizzyZff authored Nov 26, 2023
1 parent 7d7a505 commit 1bab94f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,3 @@
transform: rotate(360deg);
}
}

body {
overflow: hidden; /* Prevent scrolling */
}
2 changes: 1 addition & 1 deletion src/HeaderBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
background-color: black;
padding: 0.5rem 2rem;
color: white;
height: 5vh;
height: 50px;
}

.brand-name {
Expand Down
2 changes: 1 addition & 1 deletion src/HeroSection.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
display: flex;
justify-content: space-between;
align-items: center;
height: 95vh;
height: 100vh;
background-color: black; /* Set the background to black */
color: white;
text-align: left;
Expand Down

0 comments on commit 1bab94f

Please sign in to comment.