Skip to content

Commit bc907ae

Browse files
committed
added simple modern touch (nav & main)
1 parent 3a59874 commit bc907ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/views/components/main.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class="-mr-3 h-12 w-12 inline-flex items-center justify-center rounded-md text-g
2323
<div class="flex-1 relative z-0 flex overflow-hidden">
2424
<main class="flex-1 relative z-0 overflow-y-auto focus:outline-none" tabindex="0">
2525
<!-- Start main area-->
26-
<div class="absolute inset-0 py-6 px-4 sm:px-6 lg:px-8">
26+
<div class="absolute inset-0">
2727
{!! $slot !!}
2828
</div>
2929
<!-- End main area -->

resources/views/components/nav.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outlin
3434

3535
<!-- Static sidebar for desktop -->
3636
<div :class="{'hidden': !isOpen }" class="lg:flex lg:shrink-0 print:hidden">
37-
<div class="flex flex-col w-64">
37+
<div class="flex flex-col w-72 p-4">
3838
<!-- Sidebar component, swap this element with another sidebar if you like -->
39-
<div class="flex flex-col h-0 flex-1 border-r border-gray-200 dark:border-gray-900 bg-gray-50 dark:bg-zinc-800">
39+
<div class="flex flex-col h-0 flex-1 bg-gray-50 dark:bg-zinc-800 rounded-2xl">
4040
<div class="flex-1 flex flex-col pt-8 pb-4 px-6 overflow-y-auto">
4141
<x-sidebar>{!! $slot !!}</x-sidebar>
4242
</div>

0 commit comments

Comments
 (0)