5
5
<header class =" space-y-5 border-b border-skin-base" >
6
6
<div >
7
7
<h1
8
- class =" font-heading text-2xl font-extrabold tracking-tight text-skin-inverted sm:text-3xl sm:leading-8"
8
+ class =" text-2xl font-extrabold tracking-tight font-heading text-skin-inverted sm:text-3xl sm:leading-8"
9
9
>
10
10
{{ $discussion -> title } }
11
11
</h1 >
12
12
<div class =" mt-2 space-x-4 sm:flex sm:items-center" >
13
13
<span
14
- class =" inline-flex h-8 w-8 items-center justify-center rounded-full bg-skin-card-gray text-skin-base"
14
+ class =" inline-flex items-center justify-center w-8 h-8 rounded-full bg-skin-card-gray text-skin-base"
15
15
>
16
- <x-heroicon-s-tag class =" h -5 w -5" />
16
+ <x-heroicon-s-tag class =" w -5 h -5" />
17
17
</span >
18
18
@if ($discussion -> tags -> isNotEmpty () )
19
19
<div class =" flex items-center space-x-2" >
@@ -29,13 +29,13 @@ class="inline-flex h-8 w-8 items-center justify-center rounded-full bg-skin-card
29
29
<div class =" flex items-center sm:items-start" >
30
30
<div class =" relative" >
31
31
<img
32
- class =" h-10 w-10 rounded-full bg-skin-card-gray object-cover ring-8 ring-body"
32
+ class =" object-cover w-10 h-10 rounded-full bg-skin-card-gray ring-8 ring-body"
33
33
src =" {{ $discussion -> user -> profile_photo_url } }"
34
34
alt =" {{ $discussion -> user -> name } }"
35
35
/>
36
36
<span class =" absolute -right-1 top-5 rounded-tl bg-skin-body px-0.5 py-px" >
37
37
<svg
38
- class =" h -5 w -5 text-skin-muted"
38
+ class =" w -5 h -5 text-skin-muted"
39
39
xmlns =" http://www.w3.org/2000/svg"
40
40
viewBox =" 0 0 24 24"
41
41
fill =" currentColor"
@@ -57,7 +57,7 @@ class="h-5 w-5 text-skin-muted"
57
57
@endif
58
58
</h4 >
59
59
</a >
60
- <div class =" whitespace-nowrap text-sm font-normal text-skin-muted" >
60
+ <div class =" text-sm font-normal whitespace-nowrap text-skin-muted" >
61
61
<time
62
62
class =" sr-only"
63
63
datetime =" {{ $discussion -> created_at -> format (' Y-m-d' ) } }"
@@ -69,7 +69,7 @@ class="sr-only"
69
69
</div >
70
70
</div >
71
71
</div >
72
- <div class =" min-w-0 flex-1 " >
72
+ <div class =" flex-1 min-w-0" >
73
73
<div class =" hidden sm:block" >
74
74
<a href =" {{ route (' profile' , $discussion -> user -> username ) } }" >
75
75
<h4 class =" inline-flex items-center text-sm font-medium text-skin-inverted" >
@@ -79,7 +79,7 @@ class="sr-only"
79
79
@endif
80
80
</h4 >
81
81
</a >
82
- <div class =" whitespace-nowrap text-sm font-normal text-skin-muted" >
82
+ <div class =" text-sm font-normal whitespace-nowrap text-skin-muted" >
83
83
<time
84
84
class =" sr-only"
85
85
datetime =" {{ $discussion -> created_at -> format (' Y-m-d' ) } }"
@@ -91,10 +91,10 @@ class="sr-only"
91
91
</div >
92
92
</div >
93
93
<x-markdown-content
94
- class =" prose prose-green mx-auto mt-3 max-w-none text-sm text-skin-base md:prose-lg"
94
+ class =" mx-auto mt-3 text-sm prose prose-green max-w-none text-skin-base md:prose-lg"
95
95
:content =" $discussion->body"
96
96
/>
97
- <div class =" relative mt-3 inline-flex" >
97
+ <div class =" relative inline-flex mt-3 " >
98
98
<livewire:reactions
99
99
wire:key =" {{ $discussion -> id } }"
100
100
:model =" $discussion"
@@ -103,7 +103,7 @@ class="prose prose-green mx-auto mt-3 max-w-none text-sm text-skin-base md:prose
103
103
/>
104
104
</div >
105
105
@can (App \Policies \DiscussionPolicy:: UPDATE , $discussion )
106
- <div class =" mt-2 flex items-center space-x-2" >
106
+ <div class =" flex items-center mt-2 space-x-2" >
107
107
<a
108
108
href =" {{ route (' discussions.edit' , $discussion ) } }"
109
109
class =" font-sans text-sm leading-5 text-skin-base hover:underline focus:outline-none"
@@ -116,7 +116,7 @@ class="font-sans text-sm leading-5 text-skin-base hover:underline focus:outline-
116
116
type =" button"
117
117
class =" font-sans text-sm leading-5 text-red-500 hover:underline focus:outline-none"
118
118
>
119
- {{ __ (' Supprimer' } ) } }
119
+ {{ __ (' Supprimer' ) } }
120
120
</button >
121
121
</div >
122
122
@endcan
0 commit comments