From 989222e26486592d26d219ed391de2b621947fe3 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Thu, 4 Jul 2024 15:01:45 +0300 Subject: [PATCH] min height --- assets/main.scss | 6 +++++- components/calcModels.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index aa99e36..9f0607a 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -74,11 +74,15 @@ a[href^="#"] { @apply py-10; &_imgbg { - @apply py-0 bg-no-repeat bg-cover bg-bottom h-[50vh]; + @apply py-0 bg-no-repeat bg-cover bg-bottom h-[50vh] min-h-[600px]; } &_calc { @apply py-0; + + &-canvas { + @apply relative h-[50vh] min-h-[600px]; + } } &-content { diff --git a/components/calcModels.vue b/components/calcModels.vue index 70bba7c..8573bfe 100644 --- a/components/calcModels.vue +++ b/components/calcModels.vue @@ -89,7 +89,7 @@ watch([section_count, extra_section], () => { })