F
Filament12mo 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
DarkKnight12mo ago
you can publish the assets
DarkKnight
DarkKnight12mo 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
GasparOP12mo 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!
Want results from more Discord servers?
Add your server