From 7664d368486ec0df356a9b6ce2c40e7aca87d70e Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 15 Sep 2020 16:34:21 +0200 Subject: [PATCH] Force .feather icon vertical alignment --- assets/sass/layout.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss index 6168bf5..fbe8b5b 100644 --- a/assets/sass/layout.scss +++ b/assets/sass/layout.scss @@ -687,10 +687,16 @@ button, .button { // --- Feather // --- .feather { + display: inline-flex; + justify-content: center; + align-items: center; + flex-shrink: 0; - --icon-size: 16px; width: var(--icon-size); height: var(--icon-size); + + --icon-size: 16px; + font-size: var(--icon-size); stroke: currentColor; stroke-width: 2; stroke-linecap: square;