Skip to content

Commit

Permalink
Refactor layout styles in Contact, Events, and Gallery components for…
Browse files Browse the repository at this point in the history
… improved responsiveness
  • Loading branch information
fordus committed Nov 28, 2024
1 parent f02eaa7 commit c27e8cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/Contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@
.map {
border-radius: 12px;
overflow: hidden;
margin: 2rem auto;
margin: 0 auto;
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
width: 100%;
}

@media (max-width: 768px) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Events.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const events = [

@media screen and (min-width: 768px) {
.events {
padding: 2rem 2rem;
padding: 6rem 2rem;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Gallery.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
padding: 6rem 2rem;
}

@media screen and (min-width: 768px) {
@media screen and (max-width: 768px) {
.gallery {
padding: 2rem 2rem;
}
Expand Down

0 comments on commit c27e8cc

Please sign in to comment.