Skip to content

Commit

Permalink
Prevent a console error from the global navigation main menu (#3625)
Browse files Browse the repository at this point in the history
* updated an svg inside a url() in the globalnav css to have data:image/svg+xml;utf8 inorder to prevent a console error

* changed a ; to a ,
  • Loading branch information
sharmrj authored Feb 5, 2025
1 parent 591587b commit 91fb8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/global-navigation/global-navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ header.new-nav .feds-nav > section.feds-navItem > button.feds-navLink {
}

header.new-nav .feds-nav > section.feds-navItem > button.feds-navLink::after {
content: url('<svg xmlns="http://www.w3.org/2000/svg" width="9" height="16" viewBox="0 0 9 16" fill="none"><path d="M1.44434 1.55566L7.89259 8.00392C7.93148 8.04281 7.93166 8.10582 7.89299 8.14493L1.50983 14.6017" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="9" height="16" viewBox="0 0 9 16" fill="none"><path d="M1.44434 1.55566L7.89259 8.00392C7.93148 8.04281 7.93166 8.10582 7.89299 8.14493L1.50983 14.6017" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
width: 9.271px;
height: 9.179px;
transform: rotate(-45deg);
Expand Down

0 comments on commit 91fb8d4

Please sign in to comment.