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 pattern-lab#1227
  • Loading branch information
sghoweri committed Jun 28, 2020
1 parent 3937eaa commit 85cb2e7
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 85cb2e7

Please sign in to comment.