Skip to content

Commit

Permalink
[CHG] rotordc_website_theme: some design changes
Browse files Browse the repository at this point in the history
- add space between items
- reduce space after product name
- reduce size of stock info
- move stock info after price
  • Loading branch information
remytms committed Jan 11, 2024
1 parent eaf363e commit af2d36e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion rotordc_website_theme/static/src/scss/rotordc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,16 @@ a:hover {
.oe_product section {
background-color: #fff;
padding: 0 15px 0 15px;
padding-bottom: 15px;

h6 {
margin-top: 0.5rem;
margin-bottom: 0.2rem;
}

.product_availability {
color: grey;
margin-bottom: 0.5rem;
font-size: 0.8em;
}

.product_price > .product_availability {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<template id="products_item_availability" inherit_id="website_sale.products_item">
<xpath
expr="//div[@itemscope='itemscope']//div[hasclass('product_price')]"
position="before"
position="after"
>
<div name="product_availability" class="product_availability">
<t t-call="website_sale_product_availability.product_availability" />
Expand Down

0 comments on commit af2d36e

Please sign in to comment.