Skip to content

Commit

Permalink
fix: Social Buttons hiding patches button
Browse files Browse the repository at this point in the history
This isn't the best solution, but it solves the problem for 99% of scenarios, the whole website is due a rewrite

Closes #107
  • Loading branch information
Ushie committed Jul 10, 2024
1 parent 38c565c commit 49cde08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/layout/Hero/SocialHost.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,12 @@
padding: 0 max(6.5%, calc(50vw - 50rem));
align-items: center;
user-select: none;
position: absolute;
display: flex;
bottom: 2rem;
gap: 1rem;
left: 0;
}
@media screen and (max-width: 767px) {
.social-host {
left: 0;
width: 100%;
display: flex;
flex-wrap: wrap;
Expand Down
7 changes: 6 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,18 @@
<Wave />

<style>
main {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.wrap {
margin-inline: auto;
width: min(87%, 100rem);
margin-top: 7rem;
}
.wrappezoid {
height: calc(100vh - 120px);
height: calc(100vh - 225px);

This comment has been minimized.

Copy link
@PickleNik

PickleNik Jul 21, 2024

Contributor
-                height: calc(100vh - 225px);
+               min-height: calc(100vh - 7.5rem);

This comment has been minimized.

Copy link
@PickleNik

PickleNik Jul 21, 2024

Contributor

just a suggestion :3

display: flex;
flex-direction: row;
justify-content: center;
Expand Down

0 comments on commit 49cde08

Please sign in to comment.