From 42ada6c3127278e040ea81b0a1e78a4c23be66a3 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Sat, 25 May 2024 15:48:33 +1000 Subject: [PATCH] Ensure first-party CSS is not overriden --- src/Pulse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pulse.php b/src/Pulse.php index fbdf0c24..c53f67dc 100644 --- a/src/Pulse.php +++ b/src/Pulse.php @@ -495,7 +495,7 @@ public function rememberUser(Authenticatable $user): self public function css(string|Htmlable|array|null $css = null): string|self { if (func_num_args() === 1) { - $this->css = array_values(array_unique(array_merge($this->css, Arr::wrap($css)), SORT_REGULAR)); + $this->css = array_values(array_unique(array_merge(Arr::wrap($css), $this->css), SORT_REGULAR)); return $this; }