diff --git a/core/modules/content_moderation/src/Form/WorkflowTypeEditForm.php b/core/modules/content_moderation/src/Form/WorkflowTypeEditForm.php index 2c6a8206dd..b1fe98cfde 100644 --- a/core/modules/content_moderation/src/Form/WorkflowTypeEditForm.php +++ b/core/modules/content_moderation/src/Form/WorkflowTypeEditForm.php @@ -107,7 +107,6 @@ public function buildForm(array $form, FormStateInterface $form_state, WorkflowI // unless the workflow it's enabled on is this one. $options[$bundle_id] = [ 'type' => $bundle['label'], - '#attributes' => ['class' => [$workflow_moderation_enabled ? 'selected' : '']], ]; // Add the bundle to the list of default values if it's enabled on this // workflow. @@ -127,6 +126,7 @@ public function buildForm(array $form, FormStateInterface $form_state, WorkflowI ], '#options' => $options, '#default_value' => $defaults, + '#attributes' => ['class' => ['no-highlight']], ]; } diff --git a/core/themes/classy/css/components/tableselect.css b/core/themes/classy/css/components/tableselect.css index fcfb2a5aa4..bf1b885512 100644 --- a/core/themes/classy/css/components/tableselect.css +++ b/core/themes/classy/css/components/tableselect.css @@ -8,6 +8,9 @@ tr.selected td { background: #ffc; } +table.no-highlight tr.selected td { + background: transparent; +} td.checkbox, th.checkbox { text-align: center;