Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit f1633fe

Browse files
Merge pull request #136 from nodes-vapor/hotfix/dropdown-polish
adjusted the positioning of new dropdown menu
2 parents da96360 + 1da9787 commit f1633fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Resources/Views/AdminPanel/Layout/Partials/navbar.leaf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0">
22
#embed("AdminPanel/Layout/Partials/sitetitle")
33

4-
<div class="dropdown px-1">
5-
<button class="btn btn-dark dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
4+
<div class="dropdown mb-1">
5+
<button class="btn btn-dark btn-block dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
66
<img src="#adminPanel:avatarURL(user.email, user.avatarURL)" class="img-thumbnail" width="30">
77
#adminPanel:user("name")
88
</button>
9-
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
9+
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
1010
<a class="dropdown-item" href="/admin/users/#adminPanel:user("id")/edit">
1111
<span data-feather="edit"></span> Settings
1212
</a>

0 commit comments

Comments
 (0)