|
51 | 51 |
|
52 | 52 | {{ $attributes->except(['wire:ignore'])->class([ |
53 | 53 | 'form-input block w-full', |
54 | | - 'text-base sm:text-sm leading-[1.375rem] py-2 h-10', |
| 54 | +
|
| 55 | + 'text-base sm:text-sm leading-5 h-9', |
| 56 | +
|
| 57 | + 'py-2', |
| 58 | + 'pl-4' => ($iconPrefix ?? false) !== false, |
| 59 | + 'pr-4' => ($iconSuffix ?? false) !== false, |
| 60 | +
|
55 | 61 | 'placeholder:text-[var(--muted-foreground)]', |
56 | 62 | 'text-inherit' => ! Str::contains($attributes->get('class'), 'text-'), |
57 | 63 | 'bg-[var(--input)] border-[var(--border)]', |
58 | 64 | 'ring-0 focus:border-[var(--primary)] focus:ring-2 focus:ring-[color-mix(in_oklab,var(--primary)_25%,transparent)]', |
59 | 65 | 'disabled:opacity-50 read-only:opacity-50', |
| 66 | +
|
60 | 67 | 'rounded-l-md' => ($prefix ?? false) === false && ! Str::contains($attributes->get('class'), 'rounded-'), |
61 | 68 | 'rounded-r-md' => ($suffix ?? false) === false && ! Str::contains($attributes->get('class'), 'rounded-'), |
62 | | - 'pl-8' => ($iconPrefix ?? false) !== false, |
63 | | - 'pr-8' => ($iconSuffix ?? false) !== false, |
64 | 69 | ]) }} /> |
65 | 70 | @if($iconSuffix ?? false) |
66 | 71 | <span {{ $iconSuffix->attributes->class([ |
|
0 commit comments