Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap navbar is not responsive #1158

Closed
santhosh12992 opened this issue Apr 24, 2018 · 0 comments
Closed

Bootstrap navbar is not responsive #1158

santhosh12992 opened this issue Apr 24, 2018 · 0 comments

Comments

@santhosh12992
Copy link

my code is,

%nav.collapse.navbar-collapse.navbar-ex1-collapse %ul.nav.navbar-nav.navbar-left %li{:class => "#{'active' if params[:action] == 'r4c'}"}= link_to 'R4C', {:controller => 'rtes', :action => 'r4c'}, :data => {:toggle => 'tooltip'}, :title => 'Relay for Carrier' %li{:class => "#{'active' if params[:action] == 'r4t'}"}= link_to 'R4D', {:controller => 'rtes', :action => 'r4t'}, :data => {:toggle => 'tooltip'}, :title => 'Relay for Driver' %ul.nav.navbar-nav.navbar-right %li{:class => "#{'active' if params[:action] == 'help'}"}= link_to 'Help', {:controller => 'rtes', :action => 'help'}, :data => {:toggle => 'tooltip'}, :title => 'Contact us for help'

The nav bar is responsive to 50%(appro) of the browser size but smaller then that, the tabs in the nav bar disappears. How to fix this?

My scss:

@import "bootstrap-sprockets";
@import "bootstrap";

@glebm glebm closed this as completed Aug 21, 2018
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

No branches or pull requests

2 participants