F
Filament11mo ago
Hdev

Line height problem

Hello, please how can i reduce the line height in the Infolist ?
No description
4 Replies
Dennis Koch
Dennis Koch11mo ago
Sounds like these are 4 different items and therefore have spacing? You probably need some custom CSS if you want to override it for that use-case
Hdev
HdevOP11mo ago
Yes there are 4 items, please where i can add the custom css in this case ?
phydeaux
phydeaux11mo ago
Try adding
->extraAttributes(['class' => 'space-y-#'])
->extraAttributes(['class' => 'space-y-#'])
to the list layout object with whatever # works. Or maybe gap-y-#. I haven't used an Infolist yet so this is a little speculative but it worked great in the Form Builder.

Did you find this page helpful?