File tree Expand file tree Collapse file tree 15 files changed +48
-49
lines changed Expand file tree Collapse file tree 15 files changed +48
-49
lines changed Original file line number Diff line number Diff line change 13
13
<transition name =" pop-out-quick" >
14
14
<ul
15
15
v-show =" isOpen"
16
- class =" bg-gray-200 absolute mt-2 -m-6 rounded-xlshadow -lg z-50"
16
+ class =" bg-gray-200 absolute mt-2 -m-6 rounded-xl shadow -lg z-50"
17
17
>
18
18
<slot ></slot >
19
19
</ul >
Original file line number Diff line number Diff line change 33
33
<form @submit.prevent =" dislike" >
34
34
<button
35
35
type =" submit"
36
- class =" flex items-center focus:outline-none hover:text-blue-500 hover:bg-blue-200 p-2 rounded-xl "
36
+ class =" flex items-center focus:outline-none hover:text-blue-500 hover:bg-blue-200 p-2 rounded-full "
37
37
:class ="
38
38
isDisliked
39
- ? 'text-blue-500 bg-blue-200 rounded-xl p-2'
39
+ ? 'text-blue-500 bg-blue-200 rounded-full p-2'
40
40
: 'text-gray-600'
41
41
"
42
42
>
Original file line number Diff line number Diff line change 88
88
89
89
<button
90
90
type =" submit"
91
- class =" px-2 py-2 w-full text-left class text-red-500 rounded-xlhover :bg-red-600 hover:text-white"
91
+ class =" px-2 py-2 w-full text-left class text-red-500 rounded-xl hover :bg-red-600 hover:text-white"
92
92
@click.prevent ="
93
93
$modal.show(`confirm-delete-reply-${reply.id}`, deletePayload)
94
94
"
Original file line number Diff line number Diff line change 1
1
<footer >
2
2
<dropdown align =" right" width =" 400px" v-cloak >
3
3
<template v-slot:trigger >
4
- <li class =" flex items-center rounded-full bg-transparent px-1 py-1 hover:bg-gray-200 hover:text-black cursor-pointer -ml-4 " >
4
+ <li class =" flex items-center rounded-full bg-transparent px-1 py-1 hover:bg-gray-200 hover:text-black cursor-pointer" >
5
5
<img
6
6
src =" {{ current_user ()-> avatar } }"
7
7
alt =" "
@@ -46,20 +46,18 @@ class="rounded-full mr-2"
46
46
47
47
</div >
48
48
49
- <div class =" px-3 py-3 flex items-center hover:bg-gray-300" >
50
- <form method =" POST" action =" /logout" >
51
- @csrf
49
+ <form method =" POST" action =" /logout" >
50
+ @csrf
51
+ <button
52
+ class =" px-3 w-full py-3 flex items-center hover:bg-gray-300 text-sm text-red-600"
53
+ type =" submit"
54
+ >
52
55
53
- <button
54
- class =" text-sm text-red-600"
55
- type =" Submit"
56
- >
57
56
Log out {{ ' @' . current_user ()-> username } }
58
- </button >
59
-
60
- </form >
61
- </div >
62
-
57
+
58
+ </button >
59
+ </form >
60
+
63
61
</div >
64
62
65
63
</dropdown >
Original file line number Diff line number Diff line change 1
- <ul class =" flex flex-col items-start" >
2
-
1
+ <ul class =" flex flex-col items-start mb-6" >
3
2
<li >
4
3
<a class =" font-bold text-lg mb-4 block rounded-full bg-transparent px-2 py-1 hover:bg-blue-500 hover:text-white text-center" href =" {{ route (' home' ) } }" >
5
4
Home
Original file line number Diff line number Diff line change @@ -11,13 +11,15 @@ class="rounded-full mr-2"
11
11
</div >
12
12
13
13
<div class =" flex-1" >
14
- <div class =" flex items-baseline mb-2" >
14
+ <div class =" flex items-baseline lg:items-center mb-2" >
15
+ <div class =" lg:flex flex-1" >
15
16
<a href =" {{ route (' profile' ,$tweet -> user ) } }" class =" mr-3" >
16
- <h5 class =" font-bold" >{{ $tweet -> user -> name } } </h5 >
17
+ <h5 class =" text-sm md:text-base font-bold" >{{ $tweet -> user -> name } } </h5 >
17
18
</a >
18
- <span class =" font-bold text-sm text-gray-600 mr-3" >{{ ' @' . $tweet -> user -> username } } </span >
19
+ <span class =" font-bold text-xs md:text-sm text-gray-600 mr-3" >{{ ' @' . $tweet -> user -> username } } </span >
20
+ </div >
19
21
20
- <span class =" text-sm text-gray-600" >{{ ' . ' . $tweet -> created_at -> diffForHumans () } } </span >
22
+ <span class =" text-xs md:text- sm text-gray-600 " >{{ ' . ' . $tweet -> created_at -> diffForHumans () } } </span >
21
23
</div >
22
24
23
25
<h3 class =" mb-2" >
@@ -59,7 +61,7 @@ class="focus:outline-none text-center hover:text-green-600 hover:bg-green-200 p-
59
61
</div >
60
62
</div >
61
63
<div >
62
-
64
+
63
65
@can (' edit' ,$tweet -> user )
64
66
<dropdown align =" right" width =" 200px" v-cloak >
65
67
<template v-slot:trigger >
Original file line number Diff line number Diff line change 3
3
<div class =" w-full max-w-sm mx-auto" >
4
4
5
5
<form
6
- class =" bg-gray-200 shadow-md rounded-xlpx -8 pt-6 pb-8 mb-4"
6
+ class =" bg-gray-200 shadow-md rounded-xl px -8 pt-6 pb-8 mb-4"
7
7
method =" POST" action =" {{ route (' login' ) } }"
8
8
>
9
9
@csrf
@@ -16,7 +16,7 @@ class="bg-gray-200 shadow-md rounded-xlpx-8 pt-6 pb-8 mb-4"
16
16
</label >
17
17
18
18
<input
19
- class =" shadow appearance-none @error (' email' ) border border-red-500 @enderror border rounded-xlw -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
19
+ class =" shadow appearance-none @error (' email' ) border border-red-500 @enderror border rounded-xl w -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
20
20
id =" email"
21
21
type =" email"
22
22
name =" email"
@@ -35,7 +35,7 @@ class="shadow appearance-none @error('email') border border-red-500 @enderror b
35
35
</label >
36
36
37
37
<input
38
- class =" shadow appearance-none @error (' password' ) border border-red-500 @enderror rounded-xlw -full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:ring"
38
+ class =" shadow appearance-none @error (' password' ) border border-red-500 @enderror rounded-xl w -full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:ring"
39
39
id =" password"
40
40
type =" password"
41
41
placeholder =" ******************"
Original file line number Diff line number Diff line change 5
5
6
6
{{ __ (' Please confirm your password before continuing.' ) } }
7
7
8
- <form method =" POST" class =" bg-gray-200 shadow-md rounded-xlpx -8 pt-6 pb-8 mb-4 mt-6" action =" {{ route (' password.confirm' ) } }" >
8
+ <form method =" POST" class =" bg-gray-200 shadow-md rounded-xl px -8 pt-6 pb-8 mb-4 mt-6" action =" {{ route (' password.confirm' ) } }" >
9
9
@csrf
10
10
11
11
<div class =" mb-6" >
12
12
<label class =" block text-gray-700 text-sm font-bold mb-2" for =" password" >
13
13
Password
14
14
</label >
15
15
16
- <input class =" shadow appearance-none @error (' password' ) border-red-500 @enderror border rounded-xlw -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
16
+ <input class =" shadow appearance-none @error (' password' ) border-red-500 @enderror border rounded-xl w -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
17
17
type =" password"
18
18
name =" password"
19
19
id =" password"
Original file line number Diff line number Diff line change 7
7
8
8
<x-panel >
9
9
10
- <form class =" bg-gray-200 shadow-md rounded-xlpx -8 pt-6 pb-8 mb-4"
10
+ <form class =" bg-gray-200 shadow-md rounded-xl px -8 pt-6 pb-8 mb-4"
11
11
method =" POST" action =" {{ route (' password.email' ) } }"
12
12
>
13
13
@csrf
21
21
</label >
22
22
23
23
<input
24
- class =" shadow appearance-none @error (' email' ) border border-red-500 @enderror border rounded-xlw -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
24
+ class =" shadow appearance-none @error (' email' ) border border-red-500 @enderror border rounded-xl w -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
25
25
id =" email"
26
26
type =" email"
27
27
name =" email"
Original file line number Diff line number Diff line change 1
1
<x-master >
2
2
3
3
<x-panel >
4
- <form class =" bg-gray-200 shadow-md rounded-xlpx -8 pt-6 pb-8 mb-4"
4
+ <form class =" bg-gray-200 shadow-md rounded-xl px -8 pt-6 pb-8 mb-4"
5
5
method =" POST"
6
6
action =" {{ route (' password.update' ) } }"
7
7
>
17
17
</label >
18
18
19
19
<input
20
- class =" shadow appearance-none @error (' email' ) border border-red-500 @enderror border rounded-xlw -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
20
+ class =" shadow appearance-none @error (' email' ) border border-red-500 @enderror border rounded-xl w -full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring"
21
21
id =" email"
22
22
type =" email"
23
23
name =" email"
@@ -36,7 +36,7 @@ class="shadow appearance-none @error('email') border border-red-500 @enderror b
36
36
</label >
37
37
38
38
<input
39
- class =" shadow appearance-none @error (' password' ) border border-red-500 @enderror rounded-xlw -full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:ring"
39
+ class =" shadow appearance-none @error (' password' ) border border-red-500 @enderror rounded-xl w -full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:ring"
40
40
id =" password"
41
41
type =" password"
42
42
placeholder =" ******************"
@@ -55,7 +55,7 @@ class="shadow appearance-none @error('password') border border-red-500 @enderro
55
55
</label >
56
56
57
57
<input
58
- class =" shadow appearance-none @error (' password' ) border border-red-500 @enderror rounded-xlw -full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:ring"
58
+ class =" shadow appearance-none @error (' password' ) border border-red-500 @enderror rounded-xl w -full py-2 px-3 text-gray-700 mb-3 leading-tight focus:outline-none focus:ring"
59
59
id =" password_confirmation"
60
60
type =" password"
61
61
placeholder =" ******************"
You can’t perform that action at this time.
0 commit comments