• Win a Fitbit Inspire HR when you move your hosting to us. Competition ends 30 November 2019

How to align numbers right in the resource list view

To align number in Laravel Nova, there is a two step process:

  1. On your resource add this:

->withMeta([‘textAlign’ => ‘right’]),


cp nova/resources/views/layout.blade.php resources/views/vendor/nova/layout.blade.php

Add this to the layout file:

.table td span.whitespace-no-wrap {
    display: block;


Share this article

Share on facebook
Share on twitter
Share on linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top