Fix incorrect vertical size of the shop body, which lead to additional scrolling panel #73

Merged
sb10q merged 1 commits from esavkin/web2019:fix-shop-infinite-scroll into master 2023-07-05 17:56:51 +08:00
2 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#root-shop, #root-shop > div {
width: 100%;
height: calc(100vh - 72px);
height: calc(100vh - 40px - 2.625rem); /* .pb-md-3 + .pt-md-3 + img.height + .navbar-brand.paddings */
overflow: hidden;
}

View File

@ -66,7 +66,7 @@
}
#root-shop, #root-shop>div {
height: calc(100vh - 50px);
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
}
#root-shop .productItem {
@ -170,7 +170,7 @@
}
#root-shop, #root-shop>div {
height: calc(100vh - 50px);
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
}
#root-shop .mobileBtnDisplaySideMenu,
@ -262,8 +262,7 @@
}
#root-shop, #root-shop>div {
/*height: calc(100vh - 50px);*/
height: 100%;
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
}
#root-shop .productItem {
@ -468,7 +467,7 @@
}
#root-shop, #root-shop>div {
height: calc(100vh - 50px);
height: calc(100vh - 10px - 2.5rem); /* .navbar vertical padding + line height (.navbar-brand.font-size.rem * body.font-size * body.line-height)*/
}
#root-shop .productItem {