Skip to content

Commit

Permalink
Fixed horizontal overflow due to box-sizing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinchuluun1029 committed Mar 7, 2021
1 parent 3e067c6 commit 3e50070
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ main {
padding: 0;
width: 100vw;
height: 100vh;
background-size: 135vh;
}

body {
Expand All @@ -27,7 +26,6 @@ body {
/* Use a media query to scale the background image */
@media only screen and (max-width: 600px) {
body {
background-size: 173vw;
background-position: 0% 50%;
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { styled, css} from "astroturf";
import styled from "astroturf";
import Facebook from "../assets/icons/facebook.svg";
import Github from "../assets/icons/github.svg";
import Instagram from "../assets/icons/instagram.svg";
Expand All @@ -8,7 +8,6 @@ import Twitter from "../assets/icons/twitter.svg";
import Youtube from "../assets/icons/youtube.svg";

const FooterContainer = styled.footer`
width: 100%;
color: #ffffff;
left: 0;
bottom: 2vh;
Expand Down
1 change: 1 addition & 0 deletions src/components/PageLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const Container = styled("div")`
z-index: 2;
display: grid;
color: #ffffff;
box-sizing: border-box;
padding: 3vh 2.5vw;
backdrop-filter: blur(6px);
-moz-box-shadow: 1px 2px 3px rgba(0,0,0,.5);
Expand Down

0 comments on commit 3e50070

Please sign in to comment.