Skip to content

[5.8] Change navbar-laravel class for bootstrap classes - #28417

Merged
taylorotwell merged 1 commit into
laravel:5.8from
yuters:patch-2
May 6, 2019
Merged

taylorotwell merged 1 commit into
laravel:5.8from
yuters:patch-2

Conversation

@yuters

@yuters yuters commented May 5, 2019

Copy link
Copy Markdown
Contributor

Bootstrap >=4.1 includes a shadow-sm class which looks pretty close to the one in the navbar-laravel class https://getbootstrap.com/docs/4.3/utilities/shadows/

You could then remove the .navbar-laravel class here:
https://github.com/laravel/laravel/blob/master/resources/sass/app.scss#L10-L13

Bootstrap >=4.1 includes a `shadow-sm` class which looks pretty close to the one in the `navbar-laravel` class https://getbootstrap.com/docs/4.3/utilities/shadows/

You could then remove the `.navbar-laravel` class here:
https://github.com/laravel/laravel/blob/master/resources/sass/app.scss#L10-L13
@driesvints driesvints changed the title Change navbar-laravel class for bootstrap classes [5.8] Change navbar-laravel class for bootstrap classes May 6, 2019
@driesvints

Copy link
Copy Markdown
Member

Neat. This way we can also remove the code here: https://github.com/laravel/laravel/blob/master/resources/sass/app.scss#L10-L13

We'll have to update the minimum version of bootstrap here as well: https://github.com/laravel/laravel/blob/master/package.json#L14

@taylorotwell
taylorotwell merged commit 7c943e5 into laravel:5.8 May 6, 2019
driesvints referenced this pull request in laravel/laravel May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants