diff --git a/app.vue b/app.vue index 5acf3c1..819624c 100644 --- a/app.vue +++ b/app.vue @@ -5,3 +5,7 @@ + + diff --git a/components/ProductDescription.vue b/components/ProductDescription.vue index 4a2aafc..699df0f 100644 --- a/components/ProductDescription.vue +++ b/components/ProductDescription.vue @@ -4,17 +4,7 @@

{{ currentVariant?.price }}

-
-
-
- -
-
-
+
{{ `Цвет: ${t(`colors.${currentColor}`)}` }} @@ -46,21 +36,21 @@ - diff --git a/pages/index.vue b/pages/index.vue index 2613684..0e5e4c6 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -13,5 +13,10 @@ width: 100%; display: flex; flex-direction: row; + + @media (max-width: 768px) { + flex-direction: column; + align-items: center; + } }