From cdf6227440fbefb73912aa00c8b44c3eb64471af Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Feb 2026 18:27:47 +0000 Subject: [PATCH] Fix white background in template editor and all layouts - Add explicit bg-base-100 to body element in all layouts (plain, form, application) to ensure dark background is always applied - Add bg-base-100 to template builder root container, title bar, sidebar bottom, and draw field overlay to prevent white gaps in the editor https://claude.ai/code/session_01SMJoL1Hzz3b5qqDhyD63jF --- app/javascript/template_builder/builder.vue | 8 ++++---- app/views/layouts/application.html.erb | 2 +- app/views/layouts/form.html.erb | 2 +- app/views/layouts/plain.html.erb | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/javascript/template_builder/builder.vue b/app/javascript/template_builder/builder.vue index 1240fb66..633cd086 100644 --- a/app/javascript/template_builder/builder.vue +++ b/app/javascript/template_builder/builder.vue @@ -2,7 +2,7 @@
@@ -284,7 +284,7 @@ @change="save" />
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 89646c06..40bf1df9 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,7 +18,7 @@ <% end %> <%= stylesheet_pack_tag 'application', media: 'all' %> - + <% if params[:modal].present? %> <% url_params = Rails.application.routes.recognize_path(params[:modal], method: :get) %> <% if url_params[:action] == 'new' %> diff --git a/app/views/layouts/form.html.erb b/app/views/layouts/form.html.erb index 756f8f83..593f9aad 100644 --- a/app/views/layouts/form.html.erb +++ b/app/views/layouts/form.html.erb @@ -12,7 +12,7 @@ <% end %> <%= stylesheet_pack_tag 'form', media: 'all' %> - + <%= yield %> diff --git a/app/views/layouts/plain.html.erb b/app/views/layouts/plain.html.erb index 88916977..46e41c0e 100644 --- a/app/views/layouts/plain.html.erb +++ b/app/views/layouts/plain.html.erb @@ -12,7 +12,7 @@ <% end %> <%= stylesheet_pack_tag 'application', media: 'all' %> - + <% if flash.present? %><%= render 'shared/flash' %><% end %> <%= yield %>