mokhosh / filament-jalali

Add Jalali datetime to your filament tables
MIT License
28 stars 2 forks source link

[Bug]: Styling issue. #4

Closed RealMrHex closed 8 months ago

RealMrHex commented 8 months ago

What happened?

image

How to reproduce the bug

I just use jalali() helper on my field

Package Version

latest

PHP Version

8.2

Laravel Version

latest

Which operating systems does with happen with?

Windows

Notes

No response

RealMrHex commented 8 months ago

image

RealMrHex commented 8 months ago

Change this: https://github.com/mokhosh/filament-jalali/blob/012a11d6e3b28a542a7154977ce18ff4ce073296/resources/views/jalali-date-time-picker.blade.php#L156

to this:

class="grid grid-cols-[repeat(7,minmax(theme(spacing.7),1fr))] gap-1"

it will solve the first problem. but the second one: https://github.com/mokhosh/filament-jalali/blob/012a11d6e3b28a542a7154977ce18ff4ce073296/resources/views/jalali-date-time-picker.blade.php#L128C45-L128C45

add this:

class="text-gray-950"

it will solve the second one, too!

image

mokhosh commented 8 months ago

Thanks, fixed this and some other issues in 3.2.3