Skip to content

Commit 3c373ec

Browse files
committed
feat: (LAR-8) rebase develop
1 parent b75850b commit 3c373ec

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

.phpunit.cache/test-results

Lines changed: 0 additions & 1 deletion
This file was deleted.

phpunit.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
66
>
77
<testsuites>
88
<testsuite name="Unit">

resources/views/discussions/show.blade.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<header class="space-y-5 border-b border-skin-base">
66
<div>
77
<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"
99
>
1010
{{ $discussion->title }}
1111
</h1>
1212
<div class="mt-2 space-x-4 sm:flex sm:items-center">
1313
<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"
1515
>
16-
<x-heroicon-s-tag class="h-5 w-5" />
16+
<x-heroicon-s-tag class="w-5 h-5" />
1717
</span>
1818
@if ($discussion->tags->isNotEmpty())
1919
<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
2929
<div class="flex items-center sm:items-start">
3030
<div class="relative">
3131
<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"
3333
src="{{ $discussion->user->profile_photo_url }}"
3434
alt="{{ $discussion->user->name }}"
3535
/>
3636
<span class="absolute -right-1 top-5 rounded-tl bg-skin-body px-0.5 py-px">
3737
<svg
38-
class="h-5 w-5 text-skin-muted"
38+
class="w-5 h-5 text-skin-muted"
3939
xmlns="http://www.w3.org/2000/svg"
4040
viewBox="0 0 24 24"
4141
fill="currentColor"
@@ -57,7 +57,7 @@ class="h-5 w-5 text-skin-muted"
5757
@endif
5858
</h4>
5959
</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">
6161
<time
6262
class="sr-only"
6363
datetime="{{ $discussion->created_at->format('Y-m-d') }}"
@@ -69,7 +69,7 @@ class="sr-only"
6969
</div>
7070
</div>
7171
</div>
72-
<div class="min-w-0 flex-1">
72+
<div class="flex-1 min-w-0">
7373
<div class="hidden sm:block">
7474
<a href="{{ route('profile', $discussion->user->username) }}">
7575
<h4 class="inline-flex items-center text-sm font-medium text-skin-inverted">
@@ -79,7 +79,7 @@ class="sr-only"
7979
@endif
8080
</h4>
8181
</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">
8383
<time
8484
class="sr-only"
8585
datetime="{{ $discussion->created_at->format('Y-m-d') }}"
@@ -91,10 +91,10 @@ class="sr-only"
9191
</div>
9292
</div>
9393
<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"
9595
:content="$discussion->body"
9696
/>
97-
<div class="relative mt-3 inline-flex">
97+
<div class="relative inline-flex mt-3">
9898
<livewire:reactions
9999
wire:key="{{ $discussion->id }}"
100100
:model="$discussion"
@@ -103,7 +103,7 @@ class="prose prose-green mx-auto mt-3 max-w-none text-sm text-skin-base md:prose
103103
/>
104104
</div>
105105
@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">
107107
<a
108108
href="{{ route('discussions.edit', $discussion) }}"
109109
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-
116116
type="button"
117117
class="font-sans text-sm leading-5 text-red-500 hover:underline focus:outline-none"
118118
>
119-
{{ __('Supprimer' }) }}
119+
{{ __('Supprimer') }}
120120
</button>
121121
</div>
122122
@endcan

0 commit comments

Comments
 (0)