Merge pull request #11465 from overleaf/td-remove-ace-tooltip

Remove info icon next to editor switch for users without Ace option

GitOrigin-RevId: 69fa8af8ddd40c47a58de50eb9aa79cc82629aa8
This commit is contained in:
Tim Down 2023-01-25 16:32:05 +00:00 committed by Copybot
parent 30e94eba32
commit fd90261313

View file

@ -87,7 +87,7 @@ function EditorSwitch() {
return (
<div className="editor-toggle-switch">
<Badge />
{showLegacySourceEditor ? <Badge /> : null}
<fieldset className="toggle-switch">
<legend className="sr-only">Editor mode.</legend>