Commit bbbe3fdc authored by alexpott's avatar alexpott
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
......@@ -47,16 +47,16 @@ small .admin-link:after {
/**
* Modules page.
*/
#system-modules table {
table-layout: fixed;
#system-modules thead > tr {
border: 0;
}
#system-modules div.incompatible {
font-weight: bold;
}
#system-modules th.checkbox {
#system-modules td.checkbox {
width: 4%;
}
#system-modules th.name {
#system-modules td.module {
width: 25%;
}
#system-modules td {
......@@ -105,10 +105,10 @@ small .admin-link:after {
}
@media screen and (max-width: 40em) {
#system-modules th.name {
#system-modules td.name {
width: 20%;
}
#system-modules th.description {
#system-modules td.description {
width: 40%;
}
}
......
......@@ -175,9 +175,9 @@ public function buildForm(array $form, array &$form_state) {
'#open' => TRUE,
'#theme' => 'system_modules_details',
'#header' => array(
array('data' => '<span class="visually-hidden">' . $this->t('Installed') . '</span>', 'class' => array('checkbox')),
array('data' => $this->t('Name'), 'class' => array('name')),
array('data' => $this->t('Description'), 'class' => array('description', RESPONSIVE_PRIORITY_LOW)),
array('data' => $this->t('Installed'), 'class' => array('checkbox', 'visually-hidden')),
array('data' => $this->t('Name'), 'class' => array('name', 'visually-hidden')),
array('data' => $this->t('Description'), 'class' => array('description', 'visually-hidden', RESPONSIVE_PRIORITY_LOW)),
),
'#attributes' => array('class' => array('package-listing')),
// Ensure that the "Core" package comes first.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment