Giter Site home page Giter Site logo

Comments (7)

ka8725 avatar ka8725 commented on May 13, 2024

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.

seyhunak avatar seyhunak commented on May 13, 2024

Did you try with bundling latest repo (Github)? Some fixes applied.

from twitter-bootstrap-rails.

arthurnn avatar arthurnn commented on May 13, 2024

I am still trying to change the var @navbarHeight however not working! even using the master version! ?!

from twitter-bootstrap-rails.

jobinthepast avatar jobinthepast commented on May 13, 2024

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.

arthurnn avatar arthurnn commented on May 13, 2024

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.

agis avatar agis commented on May 13, 2024

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.

monken avatar monken commented on May 13, 2024

You probably want to adjust the padding:

.navbar .nav > li > a {
  padding: 5px 10px 5px;
}

from twitter-bootstrap-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.