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

Issue #2289247 by lauriii, mgifford, sqndr | LewisNyman: Visually hide the...

Issue #2289247 by lauriii, mgifford, sqndr | LewisNyman: Visually hide the table headers on the modules page.
parent 5fe283ca
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
...@@ -47,16 +47,16 @@ small .admin-link:after { ...@@ -47,16 +47,16 @@ small .admin-link:after {
/** /**
* Modules page. * Modules page.
*/ */
#system-modules table { #system-modules thead > tr {
table-layout: fixed; border: 0;
} }
#system-modules div.incompatible { #system-modules div.incompatible {
font-weight: bold; font-weight: bold;
} }
#system-modules th.checkbox { #system-modules td.checkbox {
width: 4%; width: 4%;
} }
#system-modules th.name { #system-modules td.module {
width: 25%; width: 25%;
} }
#system-modules td { #system-modules td {
...@@ -105,10 +105,10 @@ small .admin-link:after { ...@@ -105,10 +105,10 @@ small .admin-link:after {
} }
@media screen and (max-width: 40em) { @media screen and (max-width: 40em) {
#system-modules th.name { #system-modules td.name {
width: 20%; width: 20%;
} }
#system-modules th.description { #system-modules td.description {
width: 40%; width: 40%;
} }
} }
......
...@@ -175,9 +175,9 @@ public function buildForm(array $form, array &$form_state) { ...@@ -175,9 +175,9 @@ public function buildForm(array $form, array &$form_state) {
'#open' => TRUE, '#open' => TRUE,
'#theme' => 'system_modules_details', '#theme' => 'system_modules_details',
'#header' => array( '#header' => array(
array('data' => '<span class="visually-hidden">' . $this->t('Installed') . '</span>', 'class' => array('checkbox')), array('data' => $this->t('Installed'), 'class' => array('checkbox', 'visually-hidden')),
array('data' => $this->t('Name'), 'class' => array('name')), array('data' => $this->t('Name'), 'class' => array('name', 'visually-hidden')),
array('data' => $this->t('Description'), 'class' => array('description', RESPONSIVE_PRIORITY_LOW)), array('data' => $this->t('Description'), 'class' => array('description', 'visually-hidden', RESPONSIVE_PRIORITY_LOW)),
), ),
'#attributes' => array('class' => array('package-listing')), '#attributes' => array('class' => array('package-listing')),
// Ensure that the "Core" package comes first. // Ensure that the "Core" package comes first.
......
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