From 5e4b0ef26a69ff8fdfefd1ddd37b7e7f45b0ae55 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Wed, 29 Sep 2021 14:06:07 +0200 Subject: [PATCH] templates: Move spaces into conditions for cleaner html When looking at raw html it always looks like something is missing when there are trailing or leading spaces on attributes. Just move the space into the conditions and it looks better. Change-Id: I2a8d3246c43b8345eb819eae5887a39f68cfbdc0 --- includes/templates/Button.mustache | 2 +- includes/templates/Footer__row.mustache | 2 +- includes/templates/Menu.mustache | 6 +++--- includes/templates/SearchBox.mustache | 8 ++++---- includes/templates/StickyHeader.mustache | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/templates/Button.mustache b/includes/templates/Button.mustache index 4263af8..e611477 100644 --- a/includes/templates/Button.mustache +++ b/includes/templates/Button.mustache @@ -2,7 +2,7 @@ {{^href}} + class="mw-ui-button{{#is-quiet}} mw-ui-quiet{{/is-quiet}}{{#icon}} mw-ui-icon mw-ui-icon-element mw-ui-icon-{{.}}{{/icon}} {{class}}"> {{{html-vector-button-icon}}} {{label}} {{#href}}{{/href}} diff --git a/includes/templates/Footer__row.mustache b/includes/templates/Footer__row.mustache index a51119b..e39cecb 100644 --- a/includes/templates/Footer__row.mustache +++ b/includes/templates/Footer__row.mustache @@ -1,4 +1,4 @@ -