Skip to content

Commit

Permalink
Ensure first-party CSS is not overriden
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 26, 2024
1 parent 6add383 commit 42ada6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pulse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 42ada6c

Please sign in to comment.