From 7b8e7becee1c481ca9c26ce02ab066b065c2c28d Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Fri, 27 Sep 2024 12:18:53 +0300 Subject: [PATCH] fixing color --- assets/main.scss | 2 +- components/model/fence.vue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 7b07df7..b6733c7 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -425,7 +425,7 @@ button { @apply flex flex-col gap-2 self-end; >.grid { - @apply gap-2 items-center; + @apply gap-2 items-end; >[class*=col] { @apply p-1 border-solid border-b; diff --git a/components/model/fence.vue b/components/model/fence.vue index 3708d88..389b3ed 100644 --- a/components/model/fence.vue +++ b/components/model/fence.vue @@ -46,6 +46,8 @@ watch([fence_section, extra], () => { translate_to_section.value = make_translate_to_section() }) +set_material({ children: [props.models.pillar_brace, props.models.fixing] }, '#111'); + const instanced_lamelle = shallowRef(); const instanced_lamelle_count = 24 const instanced_lamelle_el = [ @@ -139,9 +141,6 @@ watch([section_count, fence_section, extra_section], () => { } }) - -set_material({ children: [props.models.pillar_brace, props.models.fixing] }, '#f00'); - const brace = props.models.pillar_brace.clone().children[0] const braces = ref([]) const setBraceCount = () => {