InfoList TextEntry alignEnd() only applies to text but not Label

Hey hoping to clarify if it is intented behaviour or a bug. When using Infolist Component TextEntry like this: TextEntry::make('created_at')->alignEnd()->since(); It only aligns text and not Label, wondering if it is intended behaviour?
No description
2 Replies
Prosp30
Prosp306mo ago
Try using inlineLabel() Had the same issue, haven't found a way to get it on the right. Or try using a PlaceHolder before that one with value of your label, and keep the labels empty
humunuk
humunuk6mo ago
Mhmh, I wanted to display both (datetime and since), went currently with this solution, as it looks kind of okay:
TextEntry::make('created_at')
->dateTime()
->hint(function (Comment $record) {
return $record->created_at->since();
}),
TextEntry::make('created_at')
->dateTime()
->hint(function (Comment $record) {
return $record->created_at->since();
}),
No description