From f287c603bbb7ddaf4d8607dcc2f2f77cc1087385 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Fri, 29 Nov 2024 16:14:40 +0100 Subject: [PATCH] :fire: Delete obsoleted .admin-fieldset styling This used to be required to deal with styling from rjsf, but that dependency has been removed so we can stick to the normal Django styling instead. --- .../admin/form_design/DataRemoval.js | 2 +- .../admin/form_design/PaymentFields.js | 1 - .../admin/form_design/PriceLogic.js | 1 - .../admin/form_design/ProductFields.js | 1 - .../admin/form_design/RegistrationFields.js | 1 - .../logic/actions/dmn/DMNActionConfig.js | 4 ++-- .../ServiceFetchConfigurationForm.js | 4 ---- .../scss/components/builder/_builder.scss | 22 ------------------- 8 files changed, 3 insertions(+), 33 deletions(-) diff --git a/src/openforms/js/components/admin/form_design/DataRemoval.js b/src/openforms/js/components/admin/form_design/DataRemoval.js index 1eb1e06bbd..f0804cc834 100644 --- a/src/openforms/js/components/admin/form_design/DataRemoval.js +++ b/src/openforms/js/components/admin/form_design/DataRemoval.js @@ -41,7 +41,7 @@ const DataRemoval = ({submissionsRemovalOptions, onChange}) => { } = submissionsRemovalOptions; return ( -
+
{ return (
{ const productChoices = products.map(product => [product.url, product.name]); return (
} > diff --git a/src/openforms/js/components/admin/form_design/RegistrationFields.js b/src/openforms/js/components/admin/form_design/RegistrationFields.js index d2aa9bcde5..bd27150d90 100644 --- a/src/openforms/js/components/admin/form_design/RegistrationFields.js +++ b/src/openforms/js/components/admin/form_design/RegistrationFields.js @@ -85,7 +85,6 @@ const BackendFields = ({index = 0, backend, availableBackends = [], onChange, on return (
{backend.name || backend.key} diff --git a/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js b/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js index ebb0982d80..3dc1b3d461 100644 --- a/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js +++ b/src/openforms/js/components/admin/form_design/logic/actions/dmn/DMNActionConfig.js @@ -194,7 +194,7 @@ const DMNActionConfig = ({initialValues, onSave}) => { > {formik => (
-
+
{ /> } > -
+
diff --git a/src/openforms/js/components/admin/form_design/variables/ServiceFetchConfigurationForm.js b/src/openforms/js/components/admin/form_design/variables/ServiceFetchConfigurationForm.js index 1f40e27b2e..dccb2891f9 100644 --- a/src/openforms/js/components/admin/form_design/variables/ServiceFetchConfigurationForm.js +++ b/src/openforms/js/components/admin/form_design/variables/ServiceFetchConfigurationForm.js @@ -60,7 +60,6 @@ const ServiceFetchConfigurationForm = ({formik, selectExisting = false}) => { description="Service fetch configuration modal basic fieldset title" /> } - extraClassName="admin-fieldset" > { description="Service fetch configuration modal data extraction fieldset title" /> } - extraClassName="admin-fieldset" > { description="Service fetch configuration try it out tabpanel full request fieldset title" /> } - extraClassName="admin-fieldset" > {/* TODO https://github.com/open-formulieren/open-forms/issues/2777 */} @@ -367,7 +364,6 @@ const ServiceFetchConfigurationForm = ({formik, selectExisting = false}) => { description="Service fetch configuration try it out tabpanel data extraction fieldset title" /> } - extraClassName="admin-fieldset" > {/* TODO https://github.com/open-formulieren/open-forms/issues/2777 */} diff --git a/src/openforms/scss/components/builder/_builder.scss b/src/openforms/scss/components/builder/_builder.scss index 531646cf19..0a96fcc0d7 100644 --- a/src/openforms/scss/components/builder/_builder.scss +++ b/src/openforms/scss/components/builder/_builder.scss @@ -157,28 +157,6 @@ div.flatpickr-calendar.open { } } -// rjsf styling competing with bootstrap, competing with django admin..... -.admin-fieldset { - margin-bottom: 0; - - .form-row { - &, - * { - box-sizing: border-box !important; - } - } - - .form-row { - display: block; - margin-left: 0; - margin-right: 0; - - ul.errorlist { - padding-left: 0px; - } - } -} - .gu-transit { // #748 client requested increased contrast for this element // here we clobber formio's compiled 0.2 opacity of the drag-and-drop target indicator