FIX: scrolling issues with safari.

This commit is contained in:
MajorDroolz
2022-12-22 22:56:24 -05:00
parent 5e8ff650be
commit beb2776c85

View File

@@ -31,6 +31,11 @@ html {
color: white; color: white;
} }
html, body {
position: relative;
overflow-x: hidden;
}
header { header {
position: fixed; position: fixed;
top: 0; top: 0;
@@ -237,9 +242,9 @@ header {
#about-me { #about-me {
width: 100vw; width: 100vw;
overflow-x: hidden;
min-height: 100vh; min-height: 100vh;
margin: 10vh 0; margin: 10vh 0;
box-sizing: border-box;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@@ -259,7 +264,6 @@ header {
#about-me__text-holder { #about-me__text-holder {
width: 80vmin; width: 80vmin;
height: 70vmin; height: 70vmin;
overflow: visible;
display: inline-flex; display: inline-flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;