Skip to content

Commit

Permalink
Reduce the size of the pin
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed Oct 28, 2024
1 parent 7323724 commit e5f1d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filament/Pages/Configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ protected function enable2FactorAuthGroupComponent(): Component
->length(config('two-factor.totp.digits'))
->autocomplete(false)
->live()
->extraInputAttributes(['class' => 'text-center', 'style' => 'font-size:3em; letter-spacing:1rem'])
->extraInputAttributes(['class' => 'text-center', 'style' => 'font-size:2.6em; letter-spacing:1rem'])
->afterStateUpdated(function ($state) {
$requiredLength = config('two-factor.totp.digits');
if (strlen($state) == $requiredLength) {
Expand Down

0 comments on commit e5f1d81

Please sign in to comment.