From 6067edcec2bf0631215d5b3d14b3f5caaaf3766e Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Thu, 20 Jun 2024 12:50:57 +0300 Subject: [PATCH] mode func to utils --- assets/main.scss | 4 ++++ components/calcModels.vue | 7 ++++++- components/calcValues.vue | 7 ++++++- components/expDiagram.vue | 28 +++++++++++++++++----------- components/model/diagram.vue | 9 ++++++--- components/model/parametric.vue | 20 ++++---------------- utils/material.ts | 11 +---------- 7 files changed, 44 insertions(+), 42 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 66ab052..46efdd1 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -201,4 +201,8 @@ button { &-name { @apply text-ioprim font-bold w-20 text-xl leading-4 col-span-2; } +} + +.fallback { + @apply absolute bg-neutral-600 top-0 left-0 w-full h-full z-20 flex justify-center items-center text-black font-mono } \ No newline at end of file diff --git a/components/calcModels.vue b/components/calcModels.vue index 00f9fca..9504779 100644 --- a/components/calcModels.vue +++ b/components/calcModels.vue @@ -79,7 +79,12 @@ watch([section_count, extra_section], () => {