F
Filament9mo ago
Hdev

Line height problem

Hello, please how can i reduce the line height in the Infolist ?
No description
4 Replies
Dennis Koch
Dennis Koch9mo 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
HdevOP9mo ago
Yes there are 4 items, please where i can add the custom css in this case ?
phydeaux
phydeaux9mo 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.
Want results from more Discord servers?
Add your server