diff --git a/resources/common/variables.less b/resources/common/variables.less index 0afad0cf..af6eac02 100644 --- a/resources/common/variables.less +++ b/resources/common/variables.less @@ -146,8 +146,8 @@ @size-search-expand: 24px; @margin-end-search: 12px; -// language button -@height-lang-button: unit( 32 / @font-size-browser, em ); +// Language button +@height-button-lang: unit( 32 / @font-size-browser, em ); // T296321 For sticky header, set an explicit height. This is needed for scroll padding // and for other sticky elements on the page. Setting the height in relative units enables diff --git a/resources/skins.vector.styles/components/LanguageButton.less b/resources/skins.vector.styles/components/LanguageButton.less index cfc2f7ad..97e2c269 100644 --- a/resources/skins.vector.styles/components/LanguageButton.less +++ b/resources/skins.vector.styles/components/LanguageButton.less @@ -10,7 +10,7 @@ // FIXME [review whether margin-top is needed] center vertically in heading. margin-top: 2px; box-sizing: border-box; - height: @height-lang-button; + height: @height-button-lang; .mw-ui-icon:before { // Put icon on correct standard normal state color.