[FIX] website_sale: 40px for mobile/list view/desc
When activating the list view of product and description, if the description was too big things were overflowing over their box and became unreadable. The issue is that the height limit on description was of 200px for tablet device and there was no lower limit. Thus the limit of an product line being 200px: the description + picture could break out of the box. With this change, the description at lowest width devices is limited to 40px as is the case for the grid view (which is very similar on low size devices). opw-1819184 closes #23604
This commit is contained in:
@@ -323,6 +323,9 @@
|
||||
top: 0;
|
||||
bottom: 65px;
|
||||
}
|
||||
#products_grid .oe_product .oe_subdescription {
|
||||
max-height: 40px;
|
||||
}
|
||||
|
||||
#products_grid .oe_product.oe_image_full .oe_product_image {
|
||||
bottom: 50px;
|
||||
|
||||
@@ -284,6 +284,8 @@
|
||||
.oe_product_image
|
||||
top: 0
|
||||
bottom: 65px
|
||||
.oe_subdescription
|
||||
max-height: 40px
|
||||
#products_grid
|
||||
.oe_product.oe_image_full
|
||||
.oe_product_image
|
||||
|
||||
Reference in New Issue
Block a user