F
Filament7mo ago
Marc

how to display badges inline on infoview

I have the following code:
TextEntry::make('keywords')
->separator(',')
->badge();
TextEntry::make('keywords')
->separator(',')
->badge();
But they are shown in a row, I would like them to be inline
6 Replies
Marc
MarcOP7mo ago
No description
Marc
MarcOP7mo ago
No description
Marc
MarcOP7mo ago
No description
Marc
MarcOP7mo ago
What I have found is using CSS but I don't know if there is another way to do it
.fi-in-entry-wrp .fi-in-text .fi-in-affixes .flex.w-max{
width: auto !important;
}
.fi-in-entry-wrp .fi-in-text .fi-in-affixes .flex.w-max{
width: auto !important;
}
LeandroFerreira
LeandroFerreira7mo ago
maybe because the columnSpan ? Did you try with ->columnSpanFull() ?
Marc
MarcOP7mo ago
with ->columnSpanFull() the same thing happens
Want results from more Discord servers?
Add your server