Update toolbar group hiding logic

Accommodate upstream change in WikiEditor (Iff6d806).

Bug: T357222
Change-Id: I10e06d129677e7ac40199a31e4bad7914dda993c
This commit is contained in:
Nardog 2024-02-11 00:42:48 +00:00
parent 6b5da58aec
commit d798a5ad6c

View file

@ -2,10 +2,14 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
.group-codeeditor-format, .wikiEditor-ui-toolbar .group-codeeditor-style {
.group-codeeditor-style, border-right: 0;
.codeEditor-ui-toolbar .group-insert, }
.codeEditor-ui-toolbar .group-format,
.wikiEditor-ui-toolbar:not( .codeEditor-ui-toolbar ) .group-codeeditor-format,
.wikiEditor-ui-toolbar:not( .codeEditor-ui-toolbar ) .group-codeeditor-style,
.codeEditor-ui-toolbar .group-insert.group,
.codeEditor-ui-toolbar .group-format.group,
.codeEditor-ui-toolbar .tabs span.tab-advanced, .codeEditor-ui-toolbar .tabs span.tab-advanced,
.codeEditor-ui-toolbar .tabs span.tab-characters, .codeEditor-ui-toolbar .tabs span.tab-characters,
.codeEditor-ui-toolbar .tabs span.tab-help, .codeEditor-ui-toolbar .tabs span.tab-help,
@ -13,21 +17,12 @@
display: none; display: none;
} }
.codeEditor-ui-toolbar .group-codeeditor-format,
.codeEditor-ui-toolbar .group-codeeditor-style {
display: block;
}
.wikiEditor-ui .ace_editor { .wikiEditor-ui .ace_editor {
/* Same as mw-editfont-monospace, repeated for higher specificity */ /* Same as mw-editfont-monospace, repeated for higher specificity */
font-size: 13px; font-size: 13px;
font-family: monospace, monospace; font-family: monospace, monospace;
} }
.wikiEditor-ui-toolbar .group-codeeditor-style {
border-right: 0;
}
.ace_editor textarea, .ace_editor textarea,
.ace_editor input { .ace_editor input {
/* Inherit directionality from editor, not sitedir (T186329) */ /* Inherit directionality from editor, not sitedir (T186329) */