Skip to content

Commit

Permalink
fix dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 20, 2021
1 parent 1755829 commit 87e849a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
14 changes: 3 additions & 11 deletions stubs/default/resources/views/layouts/navigation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,9 @@

<!-- Responsive Settings Options -->
<div class="pt-4 pb-1 border-t border-gray-200">
<div class="flex items-center px-4">
<div class="flex-shrink-0">
<svg class="h-10 w-10 fill-current text-gray-400" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
</svg>
</div>

<div class="ml-3">
<div class="font-medium text-base text-gray-800">{{ Auth::user()->name }}</div>
<div class="font-medium text-sm text-gray-500">{{ Auth::user()->email }}</div>
</div>
<div class="px-4">
<div class="font-medium text-base text-gray-800">{{ Auth::user()->name }}</div>
<div class="font-medium text-sm text-gray-500">{{ Auth::user()->email }}</div>
</div>

<div class="mt-3 space-y-1">
Expand Down
3 changes: 1 addition & 2 deletions stubs/inertia-react/resources/js/Layouts/Authenticated.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ export default function Authenticated({ auth, header, children }) {
</div>

<div className="pt-4 pb-1 border-t border-gray-200">
<div className="flex flex-col items-start px-4">
<div className="px-4">
<div className="font-medium text-base text-gray-800">{auth.user.name}</div>

<div className="font-medium text-sm text-gray-500">{auth.user.email}</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion stubs/inertia-vue/resources/js/Layouts/Authenticated.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

<!-- Responsive Settings Options -->
<div class="pt-4 pb-1 border-t border-gray-200">
<div class="flex items-center px-4">
<div class="px-4">
<div class="font-medium text-base text-gray-800">{{ $page.props.auth.user.name }}</div>
<div class="font-medium text-sm text-gray-500">{{ $page.props.auth.user.email }}</div>
</div>
Expand Down

0 comments on commit 87e849a

Please sign in to comment.