Commit a917dc3a authored by nanahira's avatar nanahira

fix bottom left

parent 28787594
...@@ -14,9 +14,8 @@ ...@@ -14,9 +14,8 @@
</ul> </ul>
<hr> <hr>
<div class="dropdown"> <div class="dropdown">
<img *ngIf="userInfo.user" [src]="userInfo.user!.avatar_url" alt="" class="rounded-circle me-2" width="32" height="32"> <a href="#" class="d-flex align-items-center link-dark text-decoration-none dropdown-toggle" id="dropdownUser2" data-bs-toggle="dropdown" aria-expanded="false">
<a href="#" class="d-flex align-items-center link-dark text-decoration-none dropdown-toggle" id="dropdownUser2" <img *ngIf="userInfo.user" [src]="userInfo.user!.avatar_url" alt="" class="rounded-circle me-2" width="32" height="32">
data-bs-toggle="dropdown" aria-expanded="false">
<strong>{{userInfo.user?.name || '未登录'}}</strong> <strong>{{userInfo.user?.name || '未登录'}}</strong>
</a> </a>
<ul class="dropdown-menu text-small shadow" aria-labelledby="dropdownUserNotLoggedIn" *ngIf="!userInfo.user"> <ul class="dropdown-menu text-small shadow" aria-labelledby="dropdownUserNotLoggedIn" *ngIf="!userInfo.user">
...@@ -28,7 +27,8 @@ ...@@ -28,7 +27,8 @@
<li> <li>
<hr class="dropdown-divider"> <hr class="dropdown-divider">
</li--> </li-->
<li><a class="dropdown-item" (click)="userInfo.logout()">登出</a></li> <li><a class="dropdown-item" href="https://accounts.moecube.com/profiles">用户中心</a></li>
<li><a class="dropdown-item" (click)="userInfo.logout()">退出登录</a></li>
</ul> </ul>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment