F
Filament14mo ago
Gaspar

change Infolists\Components\TextEntry content class

Currently the TextEntry component has child element with class:
<div class="fi-in-text-item inline-flex items-center gap-1.5 ">
<div class="fi-in-text-item inline-flex items-center gap-1.5 ">
This changes all elements into inline elements. I would like to avoid that and change the classname
inline-flex
inline-flex
into
flex-1
flex-1
to display content in full width! Is it possible to "override" it or should i make my own component?
4 Replies
DarkKnight
DarkKnight14mo ago
you can publish the assets
DarkKnight
DarkKnight14mo ago
Yes, my bad But if you want to customize the classes themeselves, then you need to create a theme If you want to customize the table then you can customize the views
Gaspar
GasparOP14mo ago
Ideally i would like to "just pass classname" to FI component to keep the changes minimal. I do not want to make System-wide modification to just override one component in one view. Maybe it is better to make my component just for this. Thank you!

Did you find this page helpful?