diff --git a/src/components/sound-editor/sound-editor.css b/src/components/sound-editor/sound-editor.css index b9cb97f16..7a791e6ab 100644 --- a/src/components/sound-editor/sound-editor.css +++ b/src/components/sound-editor/sound-editor.css @@ -171,16 +171,7 @@ $border-radius: 0.25rem; margin-bottom: -0.375rem; } -/* mirror the louder/softer/mute speaker icons when rtl */ -[dir="rtl"] .effect-button:nth-of-type(4) img { - transform: scaleX(-1); -} - -[dir="rtl"] .effect-button:nth-of-type(5) img { - transform: scaleX(-1); -} - -[dir="rtl"] .effect-button:nth-of-type(6) img { +[dir="rtl"] .flip-in-rtl img { transform: scaleX(-1); } diff --git a/src/components/sound-editor/sound-editor.jsx b/src/components/sound-editor/sound-editor.jsx index b0e97a174..84f56d08b 100644 --- a/src/components/sound-editor/sound-editor.jsx +++ b/src/components/sound-editor/sound-editor.jsx @@ -195,7 +195,7 @@ const SoundEditor = props => ( onClick={props.onPaste} /> ( onClick={props.onSlower} /> } onClick={props.onLouder} /> } onClick={props.onSofter} /> } onClick={props.onMute}