From ee7f59171f434cc94f0093d40e1d38a9071aa7ae Mon Sep 17 00:00:00 2001 From: Volker E Date: Wed, 20 Jul 2022 07:32:24 -0700 Subject: [PATCH] styles: Replace LanguageButton variable nomenclature `height-lang-button` => `height-button-lang` First component, then subtype. Bug: T313243 Change-Id: Icd053cb64ef0af84b37e27b0dbfc0e8ceb521863 --- resources/common/variables.less | 4 ++-- resources/skins.vector.styles/components/LanguageButton.less | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/common/variables.less b/resources/common/variables.less index 0afad0cf0..af6eac02e 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 cfc2f7ad6..97e2c2694 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.