From d46aeabe5b522bb11e78e3e0bb4e5eb3f58dba98 Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Wed, 5 Oct 2016 05:51:23 -0300 Subject: [PATCH] Align icon vertically --- src/components/mdIcon/mdIcon.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/mdIcon/mdIcon.scss b/src/components/mdIcon/mdIcon.scss index fb8b1ec..b66a843 100644 --- a/src/components/mdIcon/mdIcon.scss +++ b/src/components/mdIcon/mdIcon.scss @@ -8,7 +8,8 @@ $icon-size: 24px; height: $icon-size; min-height: $icon-size; margin: auto; - display: inline-block; + display: inline-flex; + align-items: center; fill: currentColor; vertical-align: middle; }