Parcourir la source

Merge pull request #118 from andrewdwallo/development-3.x

Development 3.x
3.x
Andrew Wallo il y a 7 mois
Parent
révision
749582ed12
Aucun compte lié à l'adresse e-mail de l'auteur

+ 5
- 2
app/Filament/Company/Resources/Purchases/BillResource/Pages/EditBill.php Voir le fichier

@@ -3,7 +3,6 @@
3 3
 namespace App\Filament\Company\Resources\Purchases\BillResource\Pages;
4 4
 
5 5
 use App\Concerns\ManagesLineItems;
6
-use App\Concerns\RedirectToListPage;
7 6
 use App\Filament\Company\Resources\Purchases\BillResource;
8 7
 use App\Models\Accounting\Bill;
9 8
 use Filament\Actions;
@@ -14,7 +13,6 @@ use Illuminate\Database\Eloquent\Model;
14 13
 class EditBill extends EditRecord
15 14
 {
16 15
     use ManagesLineItems;
17
-    use RedirectToListPage;
18 16
 
19 17
     protected static string $resource = BillResource::class;
20 18
 
@@ -30,6 +28,11 @@ class EditBill extends EditRecord
30 28
         return MaxWidth::Full;
31 29
     }
32 30
 
31
+    protected function getRedirectUrl(): string
32
+    {
33
+        return $this->getResource()::getUrl('view', ['record' => $this->record]);
34
+    }
35
+
33 36
     protected function handleRecordUpdate(Model $record, array $data): Model
34 37
     {
35 38
         /** @var Bill $record */

+ 5
- 2
app/Filament/Company/Resources/Sales/EstimateResource/Pages/EditEstimate.php Voir le fichier

@@ -3,7 +3,6 @@
3 3
 namespace App\Filament\Company\Resources\Sales\EstimateResource\Pages;
4 4
 
5 5
 use App\Concerns\ManagesLineItems;
6
-use App\Concerns\RedirectToListPage;
7 6
 use App\Filament\Company\Resources\Sales\EstimateResource;
8 7
 use App\Models\Accounting\Estimate;
9 8
 use Filament\Actions;
@@ -14,7 +13,6 @@ use Illuminate\Database\Eloquent\Model;
14 13
 class EditEstimate extends EditRecord
15 14
 {
16 15
     use ManagesLineItems;
17
-    use RedirectToListPage;
18 16
 
19 17
     protected static string $resource = EstimateResource::class;
20 18
 
@@ -30,6 +28,11 @@ class EditEstimate extends EditRecord
30 28
         return MaxWidth::Full;
31 29
     }
32 30
 
31
+    protected function getRedirectUrl(): string
32
+    {
33
+        return $this->getResource()::getUrl('view', ['record' => $this->record]);
34
+    }
35
+
33 36
     protected function handleRecordUpdate(Model $record, array $data): Model
34 37
     {
35 38
         /** @var Estimate $record */

+ 1
- 1
app/Filament/Company/Resources/Sales/EstimateResource/Pages/ViewEstimate.php Voir le fichier

@@ -76,7 +76,7 @@ class ViewEstimate extends ViewRecord
76 76
                                     ->label('Client')
77 77
                                     ->color('primary')
78 78
                                     ->weight(FontWeight::SemiBold)
79
-                                    ->url(static fn (Estimate $record) => ClientResource::getUrl('edit', ['record' => $record->client_id])),
79
+                                    ->url(static fn (Estimate $record) => ClientResource::getUrl('view', ['record' => $record->client_id])),
80 80
                                 TextEntry::make('expiration_date')
81 81
                                     ->label('Expiration date')
82 82
                                     ->asRelativeDay(),

+ 5
- 0
app/Filament/Company/Resources/Sales/InvoiceResource/Pages/EditInvoice.php Voir le fichier

@@ -30,6 +30,11 @@ class EditInvoice extends EditRecord
30 30
         return MaxWidth::Full;
31 31
     }
32 32
 
33
+    protected function getRedirectUrl(): string
34
+    {
35
+        return $this->getResource()::getUrl('view', ['record' => $this->record]);
36
+    }
37
+
33 38
     protected function handleRecordUpdate(Model $record, array $data): Model
34 39
     {
35 40
         /** @var Invoice $record */

+ 1
- 1
app/Filament/Company/Resources/Sales/InvoiceResource/Pages/ViewInvoice.php Voir le fichier

@@ -73,7 +73,7 @@ class ViewInvoice extends ViewRecord
73 73
                                     ->label('Client')
74 74
                                     ->color('primary')
75 75
                                     ->weight(FontWeight::SemiBold)
76
-                                    ->url(static fn (Invoice $record) => ClientResource::getUrl('edit', ['record' => $record->client_id])),
76
+                                    ->url(static fn (Invoice $record) => ClientResource::getUrl('view', ['record' => $record->client_id])),
77 77
                                 TextEntry::make('amount_due')
78 78
                                     ->label('Amount due')
79 79
                                     ->currency(static fn (Invoice $record) => $record->currency_code),

+ 5
- 0
app/Filament/Company/Resources/Sales/RecurringInvoiceResource/Pages/EditRecurringInvoice.php Voir le fichier

@@ -28,6 +28,11 @@ class EditRecurringInvoice extends EditRecord
28 28
         return MaxWidth::Full;
29 29
     }
30 30
 
31
+    protected function getRedirectUrl(): string
32
+    {
33
+        return $this->getResource()::getUrl('view', ['record' => $this->record]);
34
+    }
35
+
31 36
     protected function handleRecordUpdate(Model $record, array $data): Model
32 37
     {
33 38
         /** @var Estimate $record */

+ 1
- 1
app/Filament/Company/Resources/Sales/RecurringInvoiceResource/Pages/ViewRecurringInvoice.php Voir le fichier

@@ -90,7 +90,7 @@ class ViewRecurringInvoice extends ViewRecord
90 90
                                     ->label('Client')
91 91
                                     ->color('primary')
92 92
                                     ->weight(FontWeight::SemiBold)
93
-                                    ->url(static fn (RecurringInvoice $record) => ClientResource::getUrl('edit', ['record' => $record->client_id])),
93
+                                    ->url(static fn (RecurringInvoice $record) => ClientResource::getUrl('view', ['record' => $record->client_id])),
94 94
                                 TextEntry::make('last_date')
95 95
                                     ->label('Last invoice')
96 96
                                     ->date()

+ 51
- 51
composer.lock Voir le fichier

@@ -497,16 +497,16 @@
497 497
         },
498 498
         {
499 499
             "name": "aws/aws-sdk-php",
500
-            "version": "3.342.4",
500
+            "version": "3.342.6",
501 501
             "source": {
502 502
                 "type": "git",
503 503
                 "url": "https://github.com/aws/aws-sdk-php.git",
504
-                "reference": "65cc842b9998d415b05d635b6146d0728934ff4a"
504
+                "reference": "2ad93ef447289da27892707efa683c1ae7ced85f"
505 505
             },
506 506
             "dist": {
507 507
                 "type": "zip",
508
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/65cc842b9998d415b05d635b6146d0728934ff4a",
509
-                "reference": "65cc842b9998d415b05d635b6146d0728934ff4a",
508
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2ad93ef447289da27892707efa683c1ae7ced85f",
509
+                "reference": "2ad93ef447289da27892707efa683c1ae7ced85f",
510 510
                 "shasum": ""
511 511
             },
512 512
             "require": {
@@ -588,9 +588,9 @@
588 588
             "support": {
589 589
                 "forum": "https://github.com/aws/aws-sdk-php/discussions",
590 590
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
591
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.342.4"
591
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.342.6"
592 592
             },
593
-            "time": "2025-03-11T18:27:07+00:00"
593
+            "time": "2025-03-14T18:01:18+00:00"
594 594
         },
595 595
         {
596 596
             "name": "aws/aws-sdk-php-laravel",
@@ -3051,16 +3051,16 @@
3051 3051
         },
3052 3052
         {
3053 3053
             "name": "laravel/framework",
3054
-            "version": "v11.44.1",
3054
+            "version": "v11.44.2",
3055 3055
             "source": {
3056 3056
                 "type": "git",
3057 3057
                 "url": "https://github.com/laravel/framework.git",
3058
-                "reference": "0883d4175f4e2b5c299e7087ad3c74f2ce195c6d"
3058
+                "reference": "f85216c82cbd38b66d67ebd20ea762cb3751a4b4"
3059 3059
             },
3060 3060
             "dist": {
3061 3061
                 "type": "zip",
3062
-                "url": "https://api.github.com/repos/laravel/framework/zipball/0883d4175f4e2b5c299e7087ad3c74f2ce195c6d",
3063
-                "reference": "0883d4175f4e2b5c299e7087ad3c74f2ce195c6d",
3062
+                "url": "https://api.github.com/repos/laravel/framework/zipball/f85216c82cbd38b66d67ebd20ea762cb3751a4b4",
3063
+                "reference": "f85216c82cbd38b66d67ebd20ea762cb3751a4b4",
3064 3064
                 "shasum": ""
3065 3065
             },
3066 3066
             "require": {
@@ -3262,7 +3262,7 @@
3262 3262
                 "issues": "https://github.com/laravel/framework/issues",
3263 3263
                 "source": "https://github.com/laravel/framework"
3264 3264
             },
3265
-            "time": "2025-03-05T15:34:10+00:00"
3265
+            "time": "2025-03-12T14:34:30+00:00"
3266 3266
         },
3267 3267
         {
3268 3268
             "name": "laravel/prompts",
@@ -4306,16 +4306,16 @@
4306 4306
         },
4307 4307
         {
4308 4308
             "name": "livewire/livewire",
4309
-            "version": "v3.6.1",
4309
+            "version": "v3.6.2",
4310 4310
             "source": {
4311 4311
                 "type": "git",
4312 4312
                 "url": "https://github.com/livewire/livewire.git",
4313
-                "reference": "0df0a762698176d714e42e2dfed92b6b9e24b8e4"
4313
+                "reference": "8f8914731f5eb43b6bb145d87c8d5a9edfc89313"
4314 4314
             },
4315 4315
             "dist": {
4316 4316
                 "type": "zip",
4317
-                "url": "https://api.github.com/repos/livewire/livewire/zipball/0df0a762698176d714e42e2dfed92b6b9e24b8e4",
4318
-                "reference": "0df0a762698176d714e42e2dfed92b6b9e24b8e4",
4317
+                "url": "https://api.github.com/repos/livewire/livewire/zipball/8f8914731f5eb43b6bb145d87c8d5a9edfc89313",
4318
+                "reference": "8f8914731f5eb43b6bb145d87c8d5a9edfc89313",
4319 4319
                 "shasum": ""
4320 4320
             },
4321 4321
             "require": {
@@ -4370,7 +4370,7 @@
4370 4370
             "description": "A front-end framework for Laravel.",
4371 4371
             "support": {
4372 4372
                 "issues": "https://github.com/livewire/livewire/issues",
4373
-                "source": "https://github.com/livewire/livewire/tree/v3.6.1"
4373
+                "source": "https://github.com/livewire/livewire/tree/v3.6.2"
4374 4374
             },
4375 4375
             "funding": [
4376 4376
                 {
@@ -4378,7 +4378,7 @@
4378 4378
                     "type": "github"
4379 4379
                 }
4380 4380
             ],
4381
-            "time": "2025-03-04T21:48:52+00:00"
4381
+            "time": "2025-03-12T20:24:15+00:00"
4382 4382
         },
4383 4383
         {
4384 4384
             "name": "masterminds/html5",
@@ -9523,16 +9523,16 @@
9523 9523
         },
9524 9524
         {
9525 9525
             "name": "filp/whoops",
9526
-            "version": "2.17.0",
9526
+            "version": "2.18.0",
9527 9527
             "source": {
9528 9528
                 "type": "git",
9529 9529
                 "url": "https://github.com/filp/whoops.git",
9530
-                "reference": "075bc0c26631110584175de6523ab3f1652eb28e"
9530
+                "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e"
9531 9531
             },
9532 9532
             "dist": {
9533 9533
                 "type": "zip",
9534
-                "url": "https://api.github.com/repos/filp/whoops/zipball/075bc0c26631110584175de6523ab3f1652eb28e",
9535
-                "reference": "075bc0c26631110584175de6523ab3f1652eb28e",
9534
+                "url": "https://api.github.com/repos/filp/whoops/zipball/a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e",
9535
+                "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e",
9536 9536
                 "shasum": ""
9537 9537
             },
9538 9538
             "require": {
@@ -9582,7 +9582,7 @@
9582 9582
             ],
9583 9583
             "support": {
9584 9584
                 "issues": "https://github.com/filp/whoops/issues",
9585
-                "source": "https://github.com/filp/whoops/tree/2.17.0"
9585
+                "source": "https://github.com/filp/whoops/tree/2.18.0"
9586 9586
             },
9587 9587
             "funding": [
9588 9588
                 {
@@ -9590,7 +9590,7 @@
9590 9590
                     "type": "github"
9591 9591
                 }
9592 9592
             ],
9593
-            "time": "2025-01-25T12:00:00+00:00"
9593
+            "time": "2025-03-15T12:00:00+00:00"
9594 9594
         },
9595 9595
         {
9596 9596
             "name": "hamcrest/hamcrest-php",
@@ -9704,16 +9704,16 @@
9704 9704
         },
9705 9705
         {
9706 9706
             "name": "laravel/pint",
9707
-            "version": "v1.21.1",
9707
+            "version": "v1.21.2",
9708 9708
             "source": {
9709 9709
                 "type": "git",
9710 9710
                 "url": "https://github.com/laravel/pint.git",
9711
-                "reference": "c44bffbb2334e90fba560933c45948fa4a3f3e86"
9711
+                "reference": "370772e7d9e9da087678a0edf2b11b6960e40558"
9712 9712
             },
9713 9713
             "dist": {
9714 9714
                 "type": "zip",
9715
-                "url": "https://api.github.com/repos/laravel/pint/zipball/c44bffbb2334e90fba560933c45948fa4a3f3e86",
9716
-                "reference": "c44bffbb2334e90fba560933c45948fa4a3f3e86",
9715
+                "url": "https://api.github.com/repos/laravel/pint/zipball/370772e7d9e9da087678a0edf2b11b6960e40558",
9716
+                "reference": "370772e7d9e9da087678a0edf2b11b6960e40558",
9717 9717
                 "shasum": ""
9718 9718
             },
9719 9719
             "require": {
@@ -9724,9 +9724,9 @@
9724 9724
                 "php": "^8.2.0"
9725 9725
             },
9726 9726
             "require-dev": {
9727
-                "friendsofphp/php-cs-fixer": "^3.70.2",
9728
-                "illuminate/view": "^11.44.1",
9729
-                "larastan/larastan": "^3.1.0",
9727
+                "friendsofphp/php-cs-fixer": "^3.72.0",
9728
+                "illuminate/view": "^11.44.2",
9729
+                "larastan/larastan": "^3.2.0",
9730 9730
                 "laravel-zero/framework": "^11.36.1",
9731 9731
                 "mockery/mockery": "^1.6.12",
9732 9732
                 "nunomaduro/termwind": "^2.3",
@@ -9766,7 +9766,7 @@
9766 9766
                 "issues": "https://github.com/laravel/pint/issues",
9767 9767
                 "source": "https://github.com/laravel/pint"
9768 9768
             },
9769
-            "time": "2025-03-11T03:22:21+00:00"
9769
+            "time": "2025-03-14T22:31:42+00:00"
9770 9770
         },
9771 9771
         {
9772 9772
             "name": "laravel/sail",
@@ -9976,20 +9976,20 @@
9976 9976
         },
9977 9977
         {
9978 9978
             "name": "nunomaduro/collision",
9979
-            "version": "v8.6.1",
9979
+            "version": "v8.7.0",
9980 9980
             "source": {
9981 9981
                 "type": "git",
9982 9982
                 "url": "https://github.com/nunomaduro/collision.git",
9983
-                "reference": "86f003c132143d5a2ab214e19933946409e0cae7"
9983
+                "reference": "586cb8181a257a2152b6a855ca8d9598878a1a26"
9984 9984
             },
9985 9985
             "dist": {
9986 9986
                 "type": "zip",
9987
-                "url": "https://api.github.com/repos/nunomaduro/collision/zipball/86f003c132143d5a2ab214e19933946409e0cae7",
9988
-                "reference": "86f003c132143d5a2ab214e19933946409e0cae7",
9987
+                "url": "https://api.github.com/repos/nunomaduro/collision/zipball/586cb8181a257a2152b6a855ca8d9598878a1a26",
9988
+                "reference": "586cb8181a257a2152b6a855ca8d9598878a1a26",
9989 9989
                 "shasum": ""
9990 9990
             },
9991 9991
             "require": {
9992
-                "filp/whoops": "^2.16.0",
9992
+                "filp/whoops": "^2.17.0",
9993 9993
                 "nunomaduro/termwind": "^2.3.0",
9994 9994
                 "php": "^8.2.0",
9995 9995
                 "symfony/console": "^7.2.1"
@@ -9999,14 +9999,14 @@
9999 9999
                 "phpunit/phpunit": "<11.5.3 || >=12.0.0"
10000 10000
             },
10001 10001
             "require-dev": {
10002
-                "larastan/larastan": "^2.9.12",
10003
-                "laravel/framework": "^11.39.1",
10004
-                "laravel/pint": "^1.20.0",
10005
-                "laravel/sail": "^1.40.0",
10006
-                "laravel/sanctum": "^4.0.7",
10007
-                "laravel/tinker": "^2.10.0",
10008
-                "orchestra/testbench-core": "^9.9.2",
10009
-                "pestphp/pest": "^3.7.3",
10002
+                "larastan/larastan": "^2.10.0",
10003
+                "laravel/framework": "^11.44.2",
10004
+                "laravel/pint": "^1.21.2",
10005
+                "laravel/sail": "^1.41.0",
10006
+                "laravel/sanctum": "^4.0.8",
10007
+                "laravel/tinker": "^2.10.1",
10008
+                "orchestra/testbench-core": "^9.12.0",
10009
+                "pestphp/pest": "^3.7.4",
10010 10010
                 "sebastian/environment": "^6.1.0 || ^7.2.0"
10011 10011
             },
10012 10012
             "type": "library",
@@ -10070,7 +10070,7 @@
10070 10070
                     "type": "patreon"
10071 10071
                 }
10072 10072
             ],
10073
-            "time": "2025-01-23T13:41:43+00:00"
10073
+            "time": "2025-03-14T22:37:40+00:00"
10074 10074
         },
10075 10075
         {
10076 10076
             "name": "pestphp/pest",
@@ -12662,16 +12662,16 @@
12662 12662
         },
12663 12663
         {
12664 12664
             "name": "spatie/laravel-ray",
12665
-            "version": "1.40.0",
12665
+            "version": "1.40.1",
12666 12666
             "source": {
12667 12667
                 "type": "git",
12668 12668
                 "url": "https://github.com/spatie/laravel-ray.git",
12669
-                "reference": "3bcca8c64cd6d45c903f20cb0a548e2143ffdf84"
12669
+                "reference": "2d01295c5a1306935450b01ff950955479096f5f"
12670 12670
             },
12671 12671
             "dist": {
12672 12672
                 "type": "zip",
12673
-                "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/3bcca8c64cd6d45c903f20cb0a548e2143ffdf84",
12674
-                "reference": "3bcca8c64cd6d45c903f20cb0a548e2143ffdf84",
12673
+                "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/2d01295c5a1306935450b01ff950955479096f5f",
12674
+                "reference": "2d01295c5a1306935450b01ff950955479096f5f",
12675 12675
                 "shasum": ""
12676 12676
             },
12677 12677
             "require": {
@@ -12734,7 +12734,7 @@
12734 12734
             ],
12735 12735
             "support": {
12736 12736
                 "issues": "https://github.com/spatie/laravel-ray/issues",
12737
-                "source": "https://github.com/spatie/laravel-ray/tree/1.40.0"
12737
+                "source": "https://github.com/spatie/laravel-ray/tree/1.40.1"
12738 12738
             },
12739 12739
             "funding": [
12740 12740
                 {
@@ -12746,7 +12746,7 @@
12746 12746
                     "type": "other"
12747 12747
                 }
12748 12748
             ],
12749
-            "time": "2025-03-08T10:58:11+00:00"
12749
+            "time": "2025-03-14T13:11:12+00:00"
12750 12750
         },
12751 12751
         {
12752 12752
             "name": "spatie/macroable",

+ 12
- 12
package-lock.json Voir le fichier

@@ -976,9 +976,9 @@
976 976
             }
977 977
         },
978 978
         "node_modules/axios": {
979
-            "version": "1.8.2",
980
-            "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.2.tgz",
981
-            "integrity": "sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==",
979
+            "version": "1.8.3",
980
+            "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.3.tgz",
981
+            "integrity": "sha512-iP4DebzoNlP/YN2dpwCgb8zoCmhtkajzS48JvwmkSkXvPI3DHc7m+XYL5tGnSlJtR6nImXZmdCuN5aP8dh1d8A==",
982 982
             "dev": true,
983 983
             "license": "MIT",
984 984
             "dependencies": {
@@ -1088,9 +1088,9 @@
1088 1088
             }
1089 1089
         },
1090 1090
         "node_modules/caniuse-lite": {
1091
-            "version": "1.0.30001703",
1092
-            "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001703.tgz",
1093
-            "integrity": "sha512-kRlAGTRWgPsOj7oARC9m1okJEXdL/8fekFVcxA8Hl7GH4r/sN4OJn/i6Flde373T50KS7Y37oFbMwlE8+F42kQ==",
1091
+            "version": "1.0.30001704",
1092
+            "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001704.tgz",
1093
+            "integrity": "sha512-+L2IgBbV6gXB4ETf0keSvLr7JUrRVbIaB/lrQ1+z8mRcQiisG5k+lG6O4n6Y5q6f5EuNfaYXKgymucphlEXQew==",
1094 1094
             "dev": true,
1095 1095
             "funding": [
1096 1096
                 {
@@ -1264,9 +1264,9 @@
1264 1264
             "license": "MIT"
1265 1265
         },
1266 1266
         "node_modules/electron-to-chromium": {
1267
-            "version": "1.5.114",
1268
-            "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.114.tgz",
1269
-            "integrity": "sha512-DFptFef3iktoKlFQK/afbo274/XNWD00Am0xa7M8FZUepHlHT8PEuiNBoRfFHbH1okqN58AlhbJ4QTkcnXorjA==",
1267
+            "version": "1.5.119",
1268
+            "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.119.tgz",
1269
+            "integrity": "sha512-Ku4NMzUjz3e3Vweh7PhApPrZSS4fyiCIbcIrG9eKrriYVLmbMepETR/v6SU7xPm98QTqMSYiCwfO89QNjXLkbQ==",
1270 1270
             "dev": true,
1271 1271
             "license": "ISC"
1272 1272
         },
@@ -2794,9 +2794,9 @@
2794 2794
             "license": "MIT"
2795 2795
         },
2796 2796
         "node_modules/vite": {
2797
-            "version": "6.2.1",
2798
-            "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.1.tgz",
2799
-            "integrity": "sha512-n2GnqDb6XPhlt9B8olZPrgMD/es/Nd1RdChF6CBD/fHW6pUyUTt2sQW2fPRX5GiD9XEa6+8A6A4f2vT6pSsE7Q==",
2797
+            "version": "6.2.2",
2798
+            "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.2.tgz",
2799
+            "integrity": "sha512-yW7PeMM+LkDzc7CgJuRLMW2Jz0FxMOsVJ8Lv3gpgW9WLcb9cTW+121UEr1hvmfR7w3SegR5ItvYyzVz1vxNJgQ==",
2800 2800
             "dev": true,
2801 2801
             "license": "MIT",
2802 2802
             "dependencies": {

+ 1
- 1
resources/views/components/panel-shift-dropdown.blade.php Voir le fichier

@@ -50,7 +50,7 @@
50 50
         </button>
51 51
     </div>
52 52
     <div x-show="open"
53
-         class="flex flex-col transition duration-200 ease-in-out grow shrink mt-4 absolute z-10 w-screen max-w-[360px] end-8 rounded-lg bg-white shadow-lg ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10 overflow-hidden">
53
+         class="flex flex-col transition duration-200 ease-in-out grow shrink mt-4 fixed z-10 w-screen max-w-[360px] end-4 sm:end-8 rounded-lg bg-white shadow-lg ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10 overflow-hidden">
54 54
         @foreach($panels as $panelId => $panel)
55 55
             <x-panel-shift-dropdown.panel :panel-id="$panelId">
56 56
                 @if($panelId !== 'main' && isset($panel['label']))

Chargement…
Annuler
Enregistrer