Skip to content
Snippets Groups Projects
Commit 7a823216 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2194807 by longwave, tim.plunkett: Remove obsolete CSS for language admin form.

parent 20d5b0f0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -40,7 +40,7 @@ function theme_language_negotiation_configure_form($variables) {
foreach ($form['#language_types'] as $type) {
$rows = array();
$title = '<h4 class="label">' . $form[$type]['#title'] . '</h4>';
$title = '<h2>' . $form[$type]['#title'] . '</h2>';
$description = '<div class="description">' . $form[$type]['#description'] . '</div>';
foreach ($form[$type]['title'] as $id => $element) {
......
......@@ -117,6 +117,7 @@ public function buildForm(array $form, array &$form_state) {
$form['actions'] = array('#type' => 'actions');
$form['actions']['submit'] = array(
'#type' => 'submit',
'#button_type' => 'primary',
'#value' => $this->t('Save settings'),
);
......
......@@ -1717,11 +1717,3 @@ details.fieldset-no-legend {
.js .form-actions .dropbutton-multiple.open .dropbutton-action:hover {
background-color: #50a0e9;
}
/* Language Admin UI */
.page-admin-config-regional-language-detection .table-language-group {
margin-bottom: 3em;
}
.page-admin-config-regional-language-detection .form-actions {
margin-top: -2em;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment