Improve accessibility scores
This commit is contained in:
@ -97,6 +97,7 @@ const Shell = ({
|
||||
transitionEnterTimeout={300}
|
||||
transitionLeaveTimeout={300}
|
||||
component='button'
|
||||
aria-label={isDarkMode ? 'Switch to light mode' : 'Switch to dark mode'}
|
||||
className='menu-button'
|
||||
childComponent={React.Fragment}
|
||||
>
|
||||
|
||||
@ -58,7 +58,7 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||
background: var(--pre-selected-color);
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"] {
|
||||
:not(pre):not(a) > code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
white-space: normal;
|
||||
|
||||
Reference in New Issue
Block a user