[FIX] website_sale_product_library: fallback xpath and stable iframe overlay
This commit is contained in:
parent
b9af48239e
commit
e799ff33b5
2 changed files with 3 additions and 3 deletions
|
|
@ -9,14 +9,14 @@
|
|||
}
|
||||
|
||||
// Player centrado sobre la imagen de producto (sin ocultado por hover)
|
||||
.o_wsale_product_img_link {
|
||||
.oe_product_cart {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.o_multimedia_image_player {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
top: 38%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: min(86%, 320px);
|
||||
z-index: 4;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<span t-if="product.autor"><b><t t-out="product.autor" /></b></span>
|
||||
</a>
|
||||
</xpath>
|
||||
<xpath expr="//a[hasclass('o_wsale_product_img_link')]" position="inside">
|
||||
<xpath expr="//div[hasclass('o_wsale_product_sub')]" position="after">
|
||||
<div t-if="product.multimedia_embed_url" class="o_multimedia_image_player">
|
||||
<iframe
|
||||
loading="lazy"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue