I am using rails 5.1.1 and I have done following step:
generated new project (ex. rails new blog)
filled "gem 'materialize-sass'" into Gemfile && run bundle install
added "@import "materialize";" into applications.scss
added the javascript for turbolink
simply copied & paste the "right aligned link" from Navbar page (I have taken exactly the example and I ha passed it inside my layout/application). I have used a ruby partial but I think it doesn't matter
When I start the server and I load the welcome page, I see the Navbar on the top of my page, but the listed menù items are aligned on top of the bar, not on the middle as the shown in the example.
I expect to have the items menù vertically centered inside the Navbar.
Have I to change something else? Have I to create my own css for centering them vertically?
I am using rails 5.1.1 and I have done following step:
When I start the server and I load the welcome page, I see the Navbar on the top of my page, but the listed menù items are aligned on top of the bar, not on the middle as the shown in the example. I expect to have the items menù vertically centered inside the Navbar. Have I to change something else? Have I to create my own css for centering them vertically?