From dba42a90c79c4aeaa93f489a31d267ad1385c71c Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 9 Jan 2017 16:33:12 +0100 Subject: [PATCH] Fix the username button icon not aligned --- customize.dist/src/less/toolbar.less | 4 ++++ customize.dist/toolbar.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/customize.dist/src/less/toolbar.less b/customize.dist/src/less/toolbar.less index bcdf9fd4d..fa9bf2f60 100644 --- a/customize.dist/src/less/toolbar.less +++ b/customize.dist/src/less/toolbar.less @@ -41,6 +41,7 @@ width: 16px; display: inline-block; padding: 5px; + margin: 3px 0; div { margin: auto; } @@ -241,6 +242,9 @@ vertical-align: top; display: inline-block; } + span.fa { + vertical-align: baseline; + } @media screen and (max-width: @media-narrow-screen) { top: 3em; } diff --git a/customize.dist/toolbar.css b/customize.dist/toolbar.css index 1ecc91116..f3e44fb29 100644 --- a/customize.dist/toolbar.css +++ b/customize.dist/toolbar.css @@ -43,6 +43,7 @@ width: 16px; display: inline-block; padding: 5px; + margin: 3px 0; } .cryptpad-toolbar .cryptpad-lag div { margin: auto; @@ -246,6 +247,9 @@ vertical-align: top; display: inline-block; } +.cryptpad-toolbar-top .cryptpad-user span.fa { + vertical-align: baseline; +} @media screen and (max-width: 400px) { .cryptpad-toolbar-top .cryptpad-user { top: 3em;