SP表示のアカウントメニューが画面外に突き抜けないようにした
This commit is contained in:
parent
c9cdd26728
commit
be6151f0c7
4
public/css/tissue.css
vendored
4
public/css/tissue.css
vendored
@ -81,3 +81,7 @@
|
|||||||
#navbarNav > .d-lg-none > .row > .col .btn {
|
#navbarNav > .d-lg-none > .row > .col .btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navbarAccountDropdownSp {
|
||||||
|
max-width: calc(100vw - 5em);
|
||||||
|
}
|
@ -43,8 +43,8 @@
|
|||||||
<a href="#" class="nav-link dropdown-toggle p-2" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a href="#" class="nav-link dropdown-toggle p-2" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<img src="{{ Auth::user()->getProfileImageUrl(30) }}" width="30" height="30" class="rounded d-inline-block align-top">
|
<img src="{{ Auth::user()->getProfileImageUrl(30) }}" width="30" height="30" class="rounded d-inline-block align-top">
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-right position-absolute" aria-labelledby="navbarDropdownMenuLink">
|
<div class="dropdown-menu dropdown-menu-right position-absolute" aria-labelledby="navbarDropdownMenuLink" id="navbarAccountDropdownSp">
|
||||||
<a href="{{ route('user.profile', ['name' => Auth::user()->name]) }}" class="dropdown-item">
|
<a href="{{ route('user.profile', ['name' => Auth::user()->name]) }}" class="dropdown-item text-truncate">
|
||||||
<strong>{{ Auth::user()->display_name }}</strong>
|
<strong>{{ Auth::user()->display_name }}</strong>
|
||||||
<p class="mb-0 text-muted">
|
<p class="mb-0 text-muted">
|
||||||
<span>@{{ Auth::user()->name }}</span>
|
<span>@{{ Auth::user()->name }}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user