nova-issues icon indicating copy to clipboard operation
nova-issues copied to clipboard

Color and Date Field width

Open vitaliyb opened this issue 1 year ago • 1 comments

  • Laravel Version: 10.40.0
  • Nova Version: 4.34.3
  • PHP Version: 8.2
  • Browser type and version: Google Chrome 126.0.6478.183

Description:

After udating laravel/nova package from 4.28 to 4.34.3 Laravel\Nova\Fields\Color as well as Laravel\Nova\Fields\Date take up full width of the form.

I found no mentions of width change in release notes.

Before: image

After: image

Detailed steps to reproduce the issue on a fresh Nova installation:

  • create resource
  • add field
use Laravel\Nova\Fields\Color;

class ColorField
{
    public static function make(): Color
    {
        return Color::make(__('Color'), 'color');
    }
}

vitaliyb avatar Jul 19 '24 08:07 vitaliyb

Thanks for reporting this @vitaliyb 🙏 This will be addressed in Nova 5 along with other alignments for some of those fields where full width is not pertinent UI/UX wise

jeremynikolic avatar Aug 07 '24 07:08 jeremynikolic

Released with Laravel Nova 5.0.0

Feel free to open up a new issue if you're still experiencing this problem on the latest version.

crynobone avatar Dec 16 '24 04:12 crynobone