Skip to content

Commit

Permalink
fix: make color swatch visible on mobile (#926)
Browse files Browse the repository at this point in the history
M2-456
  • Loading branch information
sethidden authored Apr 26, 2022
1 parent 7dcf281 commit 0a56673
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/theme/pages/Product.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<div
v-if="option.attribute_code === 'color'"
:key="option.uid"
class="product__colors desktop-only"
class="product__colors"
>
<p class="product__color-label">
{{ option.label }}:
Expand Down Expand Up @@ -674,6 +674,10 @@ export default defineComponent({
display: flex;
align-items: center;
margin-top: var(--spacer-xl);
@include for-mobile {
margin-left: var(--spacer-sm);
}
}
&__color-label {
Expand Down

0 comments on commit 0a56673

Please sign in to comment.