mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Fix overflow issues on mobile safari
This commit is contained in:
@@ -28,7 +28,7 @@ main.main {
|
||||
max-width: $content-max-width;
|
||||
position: relative;
|
||||
min-height:calc(100vh - #{$site-header-height * 2});
|
||||
overflow-x:hidden;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
header.content-header {
|
||||
@@ -37,6 +37,7 @@ header.content-header {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
margin-top: 3em;
|
||||
overflow-x: hidden;
|
||||
@include MQ(M) {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
.all-content-wrapper.home {
|
||||
background-color: lighten($hugo-blue-light, 50%);
|
||||
overflow-x:hidden;
|
||||
}
|
||||
|
||||
main#homepage {
|
||||
width: 90%;
|
||||
margin-bottom: 2.5em;
|
||||
overflow-x:hidden;
|
||||
@include MQ(M) {
|
||||
max-width: $M * .9;
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user