Skip to content

Commit c4e2e7f

Browse files
authored
fix: adjust speedtest button size based on request context (alexjustesen#2550)
Co-authored-by: Alex Justesen <[email protected]>
1 parent b7e573f commit c4e2e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Livewire/Topbar/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function speedtestAction(): Action
6767
->modalWidth('lg')
6868
->modalSubmitActionLabel(__('results.start'))
6969
->button()
70-
->size(Size::Medium)
70+
->size(request()->is('filament*') ? Size::Medium : Size::Large)
7171
->color('primary')
7272
->label(__('results.speedtest'))
7373
->icon('tabler-rocket')

0 commit comments

Comments
 (0)