Center username vertically (#163)

Center username/role container vertically within header
This commit is contained in:
Lukas Meyer 2019-06-25 07:25:45 +02:00 committed by jc21
parent 3f089fb239
commit 43c7063538

View File

@ -4,7 +4,7 @@
<img src="/images/favicons/favicon-32x32.png" border="0"> &nbsp; <%- i18n('main', 'app') %> <img src="/images/favicons/favicon-32x32.png" border="0"> &nbsp; <%- i18n('main', 'app') %>
</a> </a>
<div class="d-flex order-lg-2 ml-auto"> <div class="d-flex align-items-center order-lg-2 ml-auto">
<div class="dropdown"> <div class="dropdown">
<a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown"> <a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
<span class="avatar" style="background-image: url(<%- getUserField('avatar', '/images/default-avatar.jpg') %>)"></span> <span class="avatar" style="background-image: url(<%- getUserField('avatar', '/images/default-avatar.jpg') %>)"></span>