align the label and the value to the right

ho to align both the label and value to the right , I used but it gives me the following image :

TextEntry::make('quantity')->label('total_quantity')->alignment(Alignment::Right),
image.png
Was this page helpful?