Comments (7)
I have the same problem. I think changes will be applied only if you change variable in gem sources (or fork your and change variables in vendor/toolkit/twitter/bootstrap/variables.less
). If it is only solving this problem it will be very terrible.
from twitter-bootstrap-rails.
Did you try with bundling latest repo (Github)? Some fixes applied.
from twitter-bootstrap-rails.
I am still trying to change the var @navbarHeight however not working! even using the master version! ?!
from twitter-bootstrap-rails.
I have the same problem now. Trying to change @navbarHeight but it doesn't take effect. @navbarLinkColorHover works though. I'm using twitter-bootstrap-rails 2.0.3, rails 3.2.1
Also, when the page is loading, the navbar expands then contracts to its normal size, I have no clue why this happens, just think of setting a fixed value to its height. Any idea?
from twitter-bootstrap-rails.
I kind of figure why the @navbarHeight wasnt working, it was because I was using Fixed Navbar, which i guess has no @navbarHeight. So i just change to a normal nav bar, and I set the height, and all fine
from twitter-bootstrap-rails.
How did you do it? It still doesn't work for me and I'm not using the fixed navbar:
I'm not using the fixed navbar:
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<%= link_to "Daily Deals", admin_path, class: 'brand' %>
<ul class="nav">
<li class="active">
<a href="#">Home</a>
</li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
</div>
</div>
</div>
from twitter-bootstrap-rails.
You probably want to adjust the padding:
.navbar .nav > li > a {
padding: 5px 10px 5px;
}
from twitter-bootstrap-rails.
Related Issues (20)
- best way i18n way to produce title on scaffold templates
- Bug error_span in template HOT 2
- set navbar collapse breakpoint
- Get 'Could not find commonjs-0.2.7 in any of the sources' Error 'when generate bootstrap:install' HOT 1
- Bootstrap 4 and Rails 5 HOT 4
- Wrong assets paths HOT 1
- jQuery is not defined with Rails 5.1 and Yarn HOT 3
- issue with up-to-date versions of rails HOT 2
- Dependency issues
- No route matches [GET] "/assets/fonts/glyphicons-halflings-regular.woff2"
- Problem with Rails 5.1.4 and apple-touch-icons asset pipeline HOT 7
- The grid system doesn't work; Alerts all look the same (and not like on the bootstrap website)
- How can i figure out version of bootstrap for static implementation?
- Rails 6.0 support? HOT 1
- BadgeLabelHelper autoload Deprecation Warning HOT 2
- Cut new release HOT 1
- Problem with DEPRECATED warnings for Rails 4 HOT 3
- missing release tags > 2.2.7
- Support for newer version of bootstrap
- Breaking changes from v4 to v5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-bootstrap-rails.