From 232d4be561c0176f259c4d3080f3867dbba29216 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 6 May 2019 09:11:06 +0200 Subject: [PATCH] Elastic: Add text aligning for toolbar items For very short button text e.g. "Add" the text has to be centered. --- skins/elastic/styles/widgets/menu.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skins/elastic/styles/widgets/menu.less b/skins/elastic/styles/widgets/menu.less index ba1160953..7d1adab2f 100644 --- a/skins/elastic/styles/widgets/menu.less +++ b/skins/elastic/styles/widgets/menu.less @@ -53,6 +53,7 @@ line-height: 1.5; cursor: pointer; font-size: 1rem; + text-align: center; &:before { height: 1.75rem !important; @@ -254,6 +255,7 @@ line-height: @listing-line-height; display: block; padding: 0 .5rem; + text-align: left; &:before { line-height: inherit;