F
Filament6mo 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
MarcOP6mo ago
No description
Marc
MarcOP6mo ago
No description
Marc
MarcOP6mo ago
No description
Marc
MarcOP6mo 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
LeandroFerreira6mo ago
maybe because the columnSpan ? Did you try with ->columnSpanFull() ?
Marc
MarcOP6mo ago
with ->columnSpanFull() the same thing happens
Want results from more Discord servers?
Add your server