[svg] Replace Accordion inline svg with css
inline SVGs are easy, but slow and would benefit from being converted to css
diff --git a/src/components/shared/Accordion.js b/src/components/shared/Accordion.js
index cd45f6175..534ff03f3 100644
--- a/src/components/shared/Accordion.js
+++ b/src/components/shared/Accordion.js
@@ -69,7 +69,7 @@ class Accordion extends Component<Props, State> {
onKeyDown={e => this.onHandleHeaderKeyDown(e, i)}
onClick={() => this.handleHeaderClick(i)}
>
- <Svg name="arrow" className={opened ? "expanded" : ""} />
+ <button className={classnames("arrow", { expanded: opened })} />
{item.header}
{item.buttons ? (
<div className="header-buttons" tabIndex="-1">
diff --git a/src/components/shared/Svg.css b/src/components/shared/Svg.css
index 15d2801db..aa43d7b5f 100644
--- a/src/components/shared/Svg.css
+++ b/src/components/shared/Svg.css
@@ -200,3 +200,20 @@ html[dir="rtl"] .arrow svg,
.source-icon svg {
fill: var(--theme-comment);
}
+
+img.arrow, button.arrow {
+ mask: url(/images/arrow.svg) no-repeat;
+ mask-size: 100%;
+ width: 9px;
+ height: 9px;
+}
+
+html[dir="rtl"] .tree-node img.arrow,
+html[dir="rtl"] .tree-node button.arrow {
+ transform: rotate(90deg);
+}
+
+.tree-node img.arrow.expanded,
+.tree-node button.arrow.expanded {
+ transform: rotate(0deg);
+ }

/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
Any updates on this @akashs09 ?
Hey @akashs09 if you don't mind, @acnair can grab this one.
@AnshulMalik thank you! I will look into it ASAP!
@jasonLaster Is it fixed?
yep