[fix] blog post horizontal scroll fixed
This commit is contained in:
parent
4e7affa7e7
commit
0fd18d7efd
5 changed files with 5 additions and 14 deletions
|
|
@ -1,6 +1,3 @@
|
|||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
|
@ -697,8 +694,8 @@ fieldset {
|
|||
background-color: #fafbfc;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 4000px;
|
||||
left: -2000px;
|
||||
width: 100vw;
|
||||
left: calc((100vw - 100%)/ -2);
|
||||
z-index: -1;
|
||||
}
|
||||
.blog-comment-row {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
// }
|
||||
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
// overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
|||
|
|
@ -405,8 +405,8 @@ fieldset {
|
|||
background-color: @light-bg;
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 4000px;
|
||||
left: -2000px;
|
||||
width: 100vw;
|
||||
left: ~"calc((100vw - 100%)/ -2)";
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue