Remove black background from variant name on mobile

table-cell gave it a black background.
Also display it on the same line as the quantity input.
This commit is contained in:
Maikel Linke
2020-04-09 10:19:06 +10:00
parent 61d55ff16f
commit 52c8c19dfc
2 changed files with 6 additions and 13 deletions

View File

@@ -1,11 +1,10 @@
.variants.row
.small-12.medium-4.large-4.columns.variant-name
.table-cell
.inline {{ ::variant.name_to_display }}
.bulk-buy.inline{"ng-if" => "::variant.product.group_buy"}
%i.ofn-i_056-bulk><
%em><
\ {{::'bulk' | t}}
.small-6.medium-4.large-4.columns.variant-name
.inline {{ ::variant.name_to_display }}
.bulk-buy.inline{"ng-if" => "::variant.product.group_buy"}
%i.ofn-i_056-bulk><
%em><
\ {{::'bulk' | t}}
.medium-1.large-1.columns.total-price
%span{"ng-class" => "{filled: variant.line_item.total_price}"}
{{ variant.line_item.total_price | localizeCurrency }}

View File

@@ -51,14 +51,8 @@
.variant-name {
@include breakpoint(phablet) {
background: #333;
color: white;
padding-left: 0.9375rem;
font-weight: bold;
.table-cell {
height: 27px;
}
}
}