diff options
author | Aleksander Machniak <machniak@kolabsys.com> | 2019-05-06 10:11:06 +0300 |
---|---|---|
committer | Aleksander Machniak <machniak@kolabsys.com> | 2019-05-06 10:11:06 +0300 |
commit | 232d4be561c0176f259c4d3080f3867dbba29216 (patch) | |
tree | 2a3d1a12b25cc2fb30f2dea75f2fd390a9f5cbc7 /skins/elastic/styles | |
parent | cf51aead637d004f9b8134e0eb1eeab1b61e5548 (diff) |
Elastic: Add text aligning for toolbar items
For very short button text e.g. "Add" the text has to be centered.
Diffstat (limited to 'skins/elastic/styles')
-rw-r--r-- | skins/elastic/styles/widgets/menu.less | 2 |
1 files changed, 2 insertions, 0 deletions
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; |