diff --git a/src/components/appointments/fields/Product.js b/src/components/appointments/fields/Product.js index e7c20d7bc..0d662dbcb 100644 --- a/src/components/appointments/fields/Product.js +++ b/src/components/appointments/fields/Product.js @@ -17,7 +17,7 @@ const Product = ({namePrefix, index, selectedProducts}) => { const intl = useIntl(); const {supportsMultipleProducts} = useContext(AppointmentConfigContext); return ( -
+
{ {({isValid, dirty}) => ( // TODO: don't do inline style
- {components.map(component => ( - - ))} +
+ {components.map(component => ( + + ))} +
{ return ( // TODO: don't do inline style -
+
diff --git a/src/scss/components/_deprecated-select.scss b/src/scss/components/_deprecated-select.scss index bbd6efaf2..447c658a2 100644 --- a/src/scss/components/_deprecated-select.scss +++ b/src/scss/components/_deprecated-select.scss @@ -11,8 +11,7 @@ $select-background-color: var(--of-select-background-color, $color-white); // Styling for the choicejs widget for the select component // Overwriting styles found here: https://github.com/Choices-js/Choices/blob/master/src/styles/choices.scss -// FIXME: check impact of form-control removal -.#{prefix(form-control--select)} { +[ref='component'] > .utrecht-form-field.utrecht-form-field--select { $control-height: $grid-row-height; $list-hpadding: $grid-margin-2; $list-vpadding: $grid-margin-1; diff --git a/src/scss/components/_file-upload.scss b/src/scss/components/_file-upload.scss index 3644bd5ed..d11c1be73 100644 --- a/src/scss/components/_file-upload.scss +++ b/src/scss/components/_file-upload.scss @@ -11,8 +11,7 @@ we don't have strict BEM naming here. @import '../mixins/prefix'; @import '../mixins/bootstrap'; -// FIXME: these class names are gone -> find different selector -.#{prefix(form-control--file)} { +.utrecht-form-field.utrecht-form-field--file { @include body; @include anchor.extend-utrecht-link;