Skip to content

Commit 4520b89

Browse files
committed
Fix mobile issues
1 parent 601bfe9 commit 4520b89

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

resources/sass/_navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
margin-right: -1.5rem;
44

55
@screen lg {
6-
@apply -mx-4 bg-transparent block border-b-0 pl-0 pt-8 pr-4 pt-0 shadow-none w-1/4;
6+
@apply -mx-4 bg-transparent block border-b-0 pl-0 pt-8 pr-4 shadow-none w-1/4;
77
}
88
}
99

resources/views/_partials/nav.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<header class="flex items-center shadow-sm bg-white dark:bg-gray-900 py-4" role="banner">
22
<div class="container flex items-center mx-auto px-6 space-x-4 lg:space-x-0" >
33
<div class="flex items-center lg:hidden">
4-
<button aria-label="Toggle Documentation Navigation" @click.prevent="toggle()">
5-
<x-i.menu class="h-6 w-6 md:h-8 md:w-8 text-gray-500 opacity-50"></x-i.menu>
4+
<button aria-label="Toggle Documentation Navigation" @click.prevent="toggle()"
5+
class="text-gray-500 dark:text-gray-200 focus:text-gray-600 dark:focus:text-gray-400 focus:outline-none">
6+
<x-i.menu class="h-6 w-6 fill-current md:h-8 md:w-8"></x-i.menu>
67
</button>
78
</div>
89

resources/views/docs.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<x-app-layout layout="app" :title="$matter['title']" :description="$matter['description']">
2-
<main role="main" class="w-full flex-auto dark:bg-gray-900">
2+
<main role="main" class="w-full flex-auto">
33
<section class="documentation">
44
<div class="container mx-auto px-4 lg:px-4 xl:px-6 lg:flex lg:flex-row">
55

resources/views/layouts/base.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636

3737
@stack('styles')
3838
</head>
39-
<body {{ $attributes->except(['title', 'description']) }}>
39+
<body class="dark" {{ $attributes->except(['title', 'description']) }}>
4040

41-
<div class="dark">
41+
<div class="dark:bg-gray-900">
4242
{{ $slot }}
4343

4444
{{ $footer ?? "" }}

resources/views/welcome.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<x-app-layout layout="welcome" class="flex flex-col justify-between min-h-screen">
2-
<div class="w-full flex-auto dark:bg-gray-900 dark:text-gray-200 leading-normal font-sans">
2+
<div class="w-full flex-auto leading-normal font-sans">
33
<section class="container mx-auto py-6 px-6 xl:py-12">
44
<div class="flex flex-col-reverse mb-10 lg:flex-row lg:mb-24">
55
<div class="mt-8 w-full lg:w-2/5 lg:pr-6 xl:pr-12 text-center lg:text-left">

0 commit comments

Comments
 (0)