mediawiki-skins-Vector/includes/templates/LanguageDropdown.mustache
Jon Robson a43d522331 Fix language button fallback
* Don't hide language button
This code can be removed now  T287206 is resolved.
Also simplify legacy logic - as the language menu
is always a portlet there.

Additional changes:
* Create LanguageButtonDropdown component to distinguish
this code from the LanguageButton in the sticky header.
* Fixes a style in LanguageButtonDropdown.less which wasn't
accounting for multiple vector-menu-content classes

Bug: T320927
Bug: T325017
Change-Id: Ic331684c384c5d57b60b098f23485e44fb75fb8f
2023-01-06 00:45:31 +00:00

5 lines
120 B
Plaintext

{{! Use `.mw-portlet-lang` to target styles at this element}}
{{>Dropdown/Open}}
{{>MenuContents}}
{{>Dropdown/Close}}