From c1ba480a7a4a8bdbb9f3bcb2036037a1221475d1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 20 May 2020 00:02:25 +0200 Subject: [PATCH] Tweak reaction buttons (#11496) (#11516) - Vertical centering using flexbox - Very slightly decreased size of the boxes Co-authored-by: zeripath Co-authored-by: techknowlogick Co-authored-by: zeripath Co-authored-by: techknowlogick --- web_src/less/_repository.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 148d65e717..38f9e115c8 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2197,9 +2197,12 @@ padding: 0; display: flex; - .ui.label { + .ui.label, + .ui.label.visible { max-height: 40px; - padding: 9px 15px 7px; + padding: .4rem .8rem; + display: flex !important; + align-items: center; border: 0; border-right: 1px solid; border-radius: 0; @@ -2220,20 +2223,17 @@ } .reaction-count { - margin-left: 4px; + margin-left: .5rem; } .select-reaction { - float: left; - padding: .6em; - line-height: 21px; + display: flex; + align-items: center; + padding: .5rem; &:not(.active) a { display: none; } - > svg { - vertical-align: middle; - } } &:hover .select-reaction a {