From 33353475ac01734c41b04231a9bde675d05d0bed Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Tue, 23 Jul 2024 12:17:16 +0300 Subject: [PATCH 1/4] table --- assets/main.scss | 12 ++++++++---- components/calcValues.vue | 18 +++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 40a2c3e..a8e3690 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -31,7 +31,7 @@ body { } .logo { - @apply w-full py-4 col-span-4 xl:col-span-2; + @apply w-full py-4 col-span-8 xl:col-span-2; a { @apply flex items-center gap-2; @@ -86,7 +86,7 @@ body { } &-toggle { - @apply flex xl:hidden col-span-8 justify-end; + @apply flex xl:hidden col-span-4 justify-end; >span { @apply cursor-pointer text-zinc-600 hover:text-ioprim-900 transition-colors; @@ -208,11 +208,15 @@ a[href^="#"] { @apply col-span-12 md:col-span-6 xl:col-span-4 grid grid-cols-4 items-center px-4; &-image { - @apply rounded-full size-20 bg-slate-300 overflow-hidden col-span-1; + @apply max-w-full max-h-full aspect-square overflow-hidden col-span-1 pr-4; + + img{ + @apply rounded-full bg-slate-300 + } } &-content { - @apply col-span-3 text-end italic; + @apply col-span-3 text-end italic text-sm lg:text-base; } &-title { diff --git a/components/calcValues.vue b/components/calcValues.vue index e317ab0..7187661 100644 --- a/components/calcValues.vue +++ b/components/calcValues.vue @@ -208,30 +208,30 @@ const goal = (target: string, params: object) => {
Секции
{{ section_count }}
-
+
Ламели, RAL {{ lamelle_color }}, {{ getColorNameFromRal(lamelle_color)?.toLowerCase() }}
-
{{ section_count * lamelles_count }}
-
+
{{ section_count * lamelles_count }}
+
{{ `${parseFloat(form_state.length.toString()).toFixed(2)}\xa0мм` }}
From 6f7788689b96436159f6eef46993d59b45495a96 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Tue, 23 Jul 2024 13:00:43 +0300 Subject: [PATCH 2/4] some text fix --- components/calcValues.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/calcValues.vue b/components/calcValues.vue index 7187661..ff1ed06 100644 --- a/components/calcValues.vue +++ b/components/calcValues.vue @@ -146,7 +146,7 @@ const goal = (target: string, params: object) => {