From c06d810fe9bbfb3a4b0ea9cc4a62c796e9ee6b6e Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Wed, 20 Mar 2024 11:53:03 -0500 Subject: [PATCH] Soluciones a comentarios 1 --- src/css/app.scss | 5 ++++ src/pages/Worker/Card/WorkerDescriptor.vue | 4 +++- src/pages/Worker/Card/WorkerPBX.vue | 23 ++++++++++++------- .../Worker/components/WorkerNoteCreate.vue | 7 +++++- 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/src/css/app.scss b/src/css/app.scss index 67406128b..75a9eda39 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -78,6 +78,11 @@ select:-webkit-autofill { color: $white; } +.card-width { + max-width: 800px; + width: 100%; +} + .vn-card { background-color: var(--vn-gray); color: var(--vn-text); diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue index 5144b3bfa..393dcb0f6 100644 --- a/src/pages/Worker/Card/WorkerDescriptor.vue +++ b/src/pages/Worker/Card/WorkerDescriptor.vue @@ -7,6 +7,7 @@ import CardDescriptor from 'src/components/ui/CardDescriptor.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue'; import useCardDescription from 'src/composables/useCardDescription'; +import { useState } from 'src/composables/useState'; const $props = defineProps({ id: { @@ -23,6 +24,7 @@ const $props = defineProps({ const route = useRoute(); const { t } = useI18n(); const { getTokenMultimedia } = useSession(); +const state = useState(); const entityId = computed(() => { return $props.id || route.params.id; @@ -112,7 +114,7 @@ const setData = (entity) => { - +