Skip to content
Snippets Groups Projects
Commit d2ab3dda authored by utkarsh_33's avatar utkarsh_33 Committed by Tim Plunkett
Browse files

Issue #3316162 by Utkarsh_33: Use a consistent html tag and label for the...

Issue #3316162 by Utkarsh_33: Use a consistent html tag and label for the Categories sidebar across viewports and devices
parent b1754069
Branches 1.0.x
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -59,13 +59,12 @@
<form>
<details class="pb-categories" open={matches}>
<summary hidden={matches}>
<h2>{Drupal.t('Categories')}</h2>
<h2>{Drupal.t('Filter Categories')}</h2>
</summary>
<fieldset>
<legend class:visually-hidden={!matches}
><span class="visually-hidden">{Drupal.t('Filter by module ')}</span
>{Drupal.t('Categories')}</legend
>
<h2 class:visually-hidden={!matches}>
{Drupal.t('Filter Categories')}
</h2>
{#await apiModuleCategory then categoryList}
{#each categoryList[$activeTab] as dt}
<label class="checkbox-label">
......@@ -110,12 +109,6 @@
fieldset {
border: none;
}
legend {
margin: 1rem 0 0.75rem;
font-size: 1.802rem;
font-weight: bold;
line-height: 1.3;
}
label:hover,
input:hover {
cursor: pointer;
......
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