From 9d6ef2f730c6a501e8aa2694bff3adae5fcc0667 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 11 Apr 2024 16:50:20 +1000 Subject: [PATCH] Avoid style issues with Turbo But the filter dropdowns still get duplicated. So weird.. --- app/views/admin/products_v3/index.html.haml | 2 -- app/webpacker/css/admin/products_v3.scss | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/admin/products_v3/index.html.haml b/app/views/admin/products_v3/index.html.haml index 4d6a384c01..dd3034ca42 100644 --- a/app/views/admin/products_v3/index.html.haml +++ b/app/views/admin/products_v3/index.html.haml @@ -1,5 +1,3 @@ -- content_for :body_class do - products_v3_page - content_for :page_title do = t('.header.title') - content_for :page_actions do diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index a2c835ccd0..8cb8ccbce2 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -1,5 +1,6 @@ // Customisations for the new Bulk Edit Products page only -.products_v3_page { +// Scoped to containing div, because Turbo messes with body classes +#products_v3_page { #content > .row:first-child > .container:first-child { // Allow table to extend to full width of available screen space // TODO: move this to a generic rule, eg body.full-width{}. Then it can be included on any page.