Skip to content

Commit

Permalink
Merge pull request #10 from sakanjo/sakanjo-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
pxlrbt authored Sep 22, 2023
2 parents 08aa092 + 4992358 commit 7e6102c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions resources/views/badge.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div
class="
environment-indicator hidden sm:flex items-center h-9 mr-4 px-3 text-sm font-medium
environment-indicator hidden sm:flex items-center h-9 px-3 text-sm font-medium
rounded-lg shadow-sm ring-1
ring-custom-600/20 bg-custom-50 text-custom-600
dark:ring-custom-400/30 dark:bg-custom-400/10 dark:text-custom-400
Expand All @@ -10,7 +10,6 @@ class="
--c-300: {{ $color[300] }};
--c-400: {{ $color[400] }};
--c-600: {{ $color[600] }};
margin-right: 1rem;
"
>
{{ $environment }}
Expand Down
2 changes: 1 addition & 1 deletion src/EnvironmentIndicatorPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function boot(Panel $panel): void

public function register(Panel $panel): void
{
$panel->renderHook('panels::global-search.start', function () {
$panel->renderHook('panels::global-search.before', function () {
if (! $this->evaluate($this->visible)) {
return '';
}
Expand Down

0 comments on commit 7e6102c

Please sign in to comment.