From a3e91c18010ad2f510e2af50313304f2d25a82e2 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Wed, 25 Sep 2024 16:38:35 +0300 Subject: [PATCH] test --- assets/main.scss | 12 +++++++++--- components/calc/values.vue | 23 ++++++++++------------- components/dropdown/picker.vue | 11 +++-------- components/model/smoothCamera.vue | 2 -- 4 files changed, 22 insertions(+), 26 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 5dde5b9..5a2d2cb 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -354,23 +354,29 @@ button { &_open { @apply flex-wrap; } + &_disabled { @apply pointer-events-none opacity-50; } &-input { @apply flex items-center justify-between; + + span { + @apply select-none w-full h-full; + } } + &-button { - @apply flex-grow h-full; + @apply min-w-10 shrink-0 h-full; } &-selected { - @apply size-10 rounded border-gray-300 shadow inline-block leading-none; + @apply h-10 overflow-hidden rounded border-gray-300 shadow inline-block leading-none grow; } &-changer { - @apply flex gap-4 mt-4 max-h-24 overflow-auto; + @apply flex gap-4 mt-4 max-h-40 overflow-auto; } &-list { diff --git a/components/calc/values.vue b/components/calc/values.vue index 147e3b2..1e8c2ec 100644 --- a/components/calc/values.vue +++ b/components/calc/values.vue @@ -187,13 +187,11 @@ const calc_table = computed(() => {
- + :goto_target="new Vector3(0, lamelles_count * lamelle_height * 0.75, 0)" + :goto_cam="new Vector3(0.75, 0.75, 0.75)"> + + {{ getColorNameFromRal(lamelle_color) }} +
@@ -203,10 +201,9 @@ const calc_table = computed(() => { - + + {{ getColorNameFromRal(pillar_color) }} + @@ -215,8 +212,8 @@ const calc_table = computed(() => { - + diff --git a/components/dropdown/picker.vue b/components/dropdown/picker.vue index 44c135b..d075fe3 100644 --- a/components/dropdown/picker.vue +++ b/components/dropdown/picker.vue @@ -39,14 +39,9 @@ watch(open_calc, () => { 'picker_disabled': props.disabled, }]" ref="picker">
- -