Skip to content

Commit

Permalink
fix: visually hide NavToggle icon text; fix for visual regression aft…
Browse files Browse the repository at this point in the history
…er merging down #1227
  • Loading branch information
sghoweri committed Jun 28, 2020
1 parent e37df7d commit 3a2ad9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const NavList = props => {
aria-controls={category}
onClick={elem.toggleSpecialNavPanel}
>
{category}
Expand / Collapse {category} Panel
</NavToggle>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const NavToggle = props => {
role="tab"
{...props}
>
{props.children}
<span class="is-vishidden">{props.children}</span>
<span
class="pl-c-nav__link-icon"
dangerouslySetInnerHTML={{
Expand Down

0 comments on commit 3a2ad9f

Please sign in to comment.