Skip to content

Commit

Permalink
Prevented horizontal scrolling on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Jan 2, 2024
1 parent 2f2feb7 commit d437ac1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Not Found - Son Nguyen Hoang</title>
<link rel="stylesheet" href="./packages/css/styles.css">
<meta name="theme-color" content="#56c9e0">
<style>
.not-found-container {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
<meta name="twitter:description" content="Professional portfolio of Son Nguyen Hoang featuring diverse projects and skills in software engineering and business analysis.">
<meta name="twitter:image" content="http://sonnguyenhoang.com/utils/image.png">
<link rel="icon" type="image/x-icon" href="utils/favicon.ico">
<meta name="theme-color" content="#56c9e0">
<link rel="manifest" href="manifest.json">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" rel="stylesheet">
</head>

<body>
<body style="overflow-x: hidden">

<!--==================== HEADER ====================-->
<header class="header" id="header">
Expand Down
1 change: 1 addition & 0 deletions packages/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

html {
scroll-behavior: smooth;
overflow-x: hidden;
}

/*========== Variables Dark theme ==========*/
Expand Down

0 comments on commit d437ac1

Please sign in to comment.