Skip to content

Commit

Permalink
refactor overflow-x to page container
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed Jan 18, 2024
1 parent 168a29b commit 54e589f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/components/About.astro
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ import empower from '../graphics/about/hackers_outdoors.webp';
width: 100%;
margin: 0 auto;
padding-top: 5rem;
overflow-x: hidden;
}

div.spacer {
Expand Down
1 change: 0 additions & 1 deletion src/components/NonProfits.astro
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ import clouds from '../graphics/clouds_star_twirl_2.svg';

.container {
position: relative;
overflow-x: hidden;
}

.clouds {
Expand Down
6 changes: 2 additions & 4 deletions src/components/Sponsors.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import witiLogo from '../graphics/sponsors/witi.webp';
gap: 6rem;
padding-top: 11.25rem;
padding-inline: 20px;
overflow-x: hidden;

.header-container {
display: flex;
Expand All @@ -78,7 +77,6 @@ import witiLogo from '../graphics/sponsors/witi.webp';
justify-content: center;
align-content: center;
gap: 6px min(10%, 80px);
flex-shrink: 0;
flex-wrap: wrap;

a {
Expand All @@ -104,7 +102,7 @@ import witiLogo from '../graphics/sponsors/witi.webp';
.clouds {
position: absolute;
left: -400px;
bottom: -6rem;
bottom: -96px;
z-index: -1;
display: none;
transform: translateX(clamp(0px, 30vw, 300px));
Expand All @@ -117,7 +115,7 @@ import witiLogo from '../graphics/sponsors/witi.webp';
.sheep {
position: absolute;
right: -400px;
top: 4rem;
top: 64px;
z-index: -1;
display: none;
transform: translateX(clamp(-400px, -30vw, 0px));
Expand Down
1 change: 1 addition & 0 deletions src/layouts/Container.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
width: 100%;
display: flex;
flex-direction: column;
overflow-x: hidden;
}
</style>

0 comments on commit 54e589f

Please sign in to comment.