From 5796b27626b8db0688e0fdc6d88060e640f29d21 Mon Sep 17 00:00:00 2001 From: Bernardo Anderson Date: Wed, 16 Jul 2025 13:05:57 -0500 Subject: [PATCH] CP-9682 - Swap documents and fields list containers layout Improve UI flow by moving fields list to the left side and documents preview to the right side. --- app/javascript/application.scss | 4 + app/javascript/template_builder/builder.vue | 202 ++++++++++---------- 2 files changed, 105 insertions(+), 101 deletions(-) diff --git a/app/javascript/application.scss b/app/javascript/application.scss index a9709f8b..b1dbea7b 100644 --- a/app/javascript/application.scss +++ b/app/javascript/application.scss @@ -109,6 +109,10 @@ button[disabled] .enabled { @apply select base-input w-full font-normal; } +:root { + --tooltip-color: black; +} + .tooltip-bottom-end:before { transform: translateX(-95%); top: var(--tooltip-offset); diff --git a/app/javascript/template_builder/builder.vue b/app/javascript/template_builder/builder.vue index f14555ab..598ea7b6 100644 --- a/app/javascript/template_builder/builder.vue +++ b/app/javascript/template_builder/builder.vue @@ -160,57 +160,65 @@ :class="$slots.buttons || withTitle ? (isMobile ? 'max-h-[calc(100%_-_60px)]' : 'md:max-h-[calc(100%_-_60px)]') : (isMobile ? 'max-h-[100%]' : 'md:max-h-[100%]')" > +
+ -