Merge pull request #400 from pcoder/bug/date_align_right_order_confirm

Added style to right align date in desktop view in Order Confirm page
This commit is contained in:
Pcoder 2017-07-17 21:07:54 +02:00 committed by GitHub
commit 53ec2d5e7d
3 changed files with 18 additions and 3 deletions

View file

@ -25,7 +25,7 @@
</div>
<hr>
<div class="row">
<div class="col-xs-12 col-sm-6 pull-right text-left">
<div class="col-xs-12 col-sm-6 pull-right order-confirm-date">
<address>
<strong>{% trans "Date"%}:</strong><br>
<span id="order-created_at">{% now "Y-m-d H:i" %}</span><br><br>

View file

@ -541,28 +541,39 @@ a.unlink:hover {
.card-cvc-element label {
padding-left: 10px;
}
.card-element {
margin-bottom: 10px;
padding: 0;
}
.card-element label{
width:100%;
margin-bottom:0px;
}
.my-input {
border-bottom: 1px solid #ccc;
}
.card-cvc-element .my-input {
padding-left: 10px;
}
#card-errors {
clear: both;
padding: 0 0 10px;
color: #eb4d5c;
}
.credit-card-goup{
padding: 0;
}
.order-confirm-date{
text-align:right;
}
@media (max-width: 767px) {
.dcl-order-table-total span {
padding-left: 3px;
@ -631,7 +642,11 @@ a.unlink:hover {
#billing-form .form-control {
box-shadow: none !important;
font-weight: 400;
}
}
.order-confirm-date{
text-align:left;
}
}
@media (min-width: 1200px) {

View file

@ -24,7 +24,7 @@
</div>
<hr>
<div class="row">
<div class="col-xs-12 col-md-6 pull-right text-left">
<div class="col-xs-12 col-md-6 pull-right order-confirm-date">
<address>
<strong>{% trans "Date"%}:</strong><br>
<span id="order-created_at">{{order.created_at|date:'Y-m-d H:i'}}</span><br><br>