added [hidden] attribute to <noscript> inside .settings
to avoid two list appearing when both css and js are disabled.
This commit is contained in:
parent
e5057a2ac3
commit
b2ed8fae5d
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
noscript[hidden] { display: block; }
|
||||||
|
|
||||||
noscript p {
|
noscript p {
|
||||||
margin-top: 0.75rem;
|
margin-top: 0.75rem;
|
||||||
font-family: var(--font-1);
|
font-family: var(--font-1);
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- No JS Fallback -->
|
<!-- No JS Fallback -->
|
||||||
<noscript>
|
<noscript hidden> <!-- Use hidden so the list doesn't appear twice when both CSS and JS are disabled (Unhide in CSS). -->
|
||||||
<ul class="settings__buttons settings__buttons--no-js">
|
<ul class="settings__buttons settings__buttons--no-js">
|
||||||
<li class="settings__button-item">
|
<li class="settings__button-item">
|
||||||
<a class="settings__button settings__button--github" aria-labelledby="settings__button-label--github--no-js" rel="noopener" href="https://github.com/westtle/simple-note" target="_blank">
|
<a class="settings__button settings__button--github" aria-labelledby="settings__button-label--github--no-js" rel="noopener" href="https://github.com/westtle/simple-note" target="_blank">
|
||||||
|
|
Loading…
Reference in a new issue