laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.98k stars 822 forks source link

Fresh Installation Breaks #1514

Closed rjvim closed 4 months ago

rjvim commented 4 months ago

Jetstream Version

5.1.3

Jetstream Stack

Livewire

Laravel Version

11.9

PHP Version

8.3

Database Driver & Version

No response

Description

In dropdown.blade.php we have following widths supported: https://github.com/laravel/jetstream/blob/5.x/stubs/livewire/resources/views/components/dropdown.blade.php#L11

$width = match ($width) {
    '48' => 'w-48',
};

In navigation-menu.blade.php, we use:

https://github.com/laravel/jetstream/blob/5.x/stubs/livewire/resources/views/navigation-menu.blade.php#L25

 <x-dropdown align="right" width="60">

I am guessing we need to '60' => 'w-60', to dropdown.

Steps To Reproduce

  1. Run laravel new new-app
  2. Select following options
Screenshot 2024-07-10 at 14 26 37
DanielSpravtsev commented 4 months ago

https://github.com/beyondcode/herd-community/issues/883

@driesvints I think we need to tag a new release