Skip to content

Commit fbd7ccc

Browse files
committed
fix design userinfo menu for topbar
1 parent d2bb366 commit fbd7ccc

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

resources/css/theme.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@ color: #ddd;
507507
vertical-align: middle;
508508
}
509509

510+
.topbar-useraction .dropdown-menu li span {
511+
margin-left: 5px;
512+
}
513+
510514
#sidebar {
511515
top: 70px;
512516
bottom: 0;

resources/views/partials/topbar.twig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@
2828
{% endif %}
2929
</a>
3030
<ul class="dropdown-menu-right dropdown-menu">
31-
<li class="dropdown-item">
32-
<a href="/" target="_blank">
31+
<li class="dropdown-item pl-1">
32+
<a href="/" class="d-flex" target="_blank">
3333
{{ img('theme::img/view_site.svg').data|raw }}
34-
{{ trans('theme::control_panel.view_site') }}
34+
<span>{{ trans('theme::control_panel.view_site') }}</span>
3535
</a>
3636
</li>
37-
<li class="dropdown-item">
38-
<a href="/admin/logout">
37+
<li class="dropdown-item pl-1">
38+
<a href="/admin/logout" class="d-flex">
3939
{{ img('theme::img/logout.svg').data|raw }}
40-
{{ trans('theme::control_panel.logout') }}
40+
<span>{{ trans('theme::control_panel.logout') }}</span>
4141
</a>
4242
</li>
4343
</ul>

0 commit comments

Comments
 (0)