Skip to content

Commit

Permalink
CountdownBox - minor changes on CatalogProductView
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielŻuławski committed Sep 9, 2021
1 parent edc1c7b commit 5e859ed
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
</template>
<template v-else>
<div class="d-inline-flex flex-wrap justify-content-center">
<label class="ended-label">@Loc["ShoppingCart.Auctionends"]:</label>
<div class="count-date">{{Model.EndTimeLocalTime.Value}}</div>
<label class="ended-label mb-0">@Loc["ShoppingCart.Auctionends"]:</label>
<div class="count-date" v-html="new Date(Model.EndTimeLocalTime).toLocaleString()"></div>
</div>
</template>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/Web/Grand.Web/Views/Shared/_CatalogProductViewVue.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
</template>
<template v-else>
<div class="d-inline-flex flex-wrap justify-content-center">
<label class="ended-label">@Loc["ShoppingCart.Auctionends"]:</label>
<div class="count-date">{{Model.EndTimeLocalTime.Value}}</div>
<label class="ended-label mb-0">@Loc["ShoppingCart.Auctionends"]:</label>
<div class="count-date" v-html="new Date(Model.EndTimeLocalTime).toLocaleString()"></div>
</div>
</template>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/Web/Grand.Web/wwwroot/theme/css/common/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,9 @@ input:checked ~ .color-container .color::before {
font-size: 16px;
font-weight: 500;
}
.product-box .countdown-box .count-date {
margin: 0 0 0 5px;
}
.product-box .rating {
display: inline-flex;
align-items: center;
Expand Down
3 changes: 3 additions & 0 deletions src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@ input:checked ~ .color-container .color::before {
content: "/";
margin: 0 3px;
}
.product-box .countdown-box .count-date {
margin: 0 5px 0 0;
}
.product-box .prices {
display: inline-flex;
align-items: flex-end;
Expand Down

0 comments on commit 5e859ed

Please sign in to comment.