forked from M-Labs/web2019
Fix incorrect vertical size of the shop body, which lead to additional scrolling panel
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
4141e5b315
commit
48eb492410
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user