Giter Site home page Giter Site logo

Navbar bug about bootstrap-stylus HOT 11 CLOSED

maxmx avatar maxmx commented on August 16, 2024
Navbar bug

from bootstrap-stylus.

Comments (11)

morenoh149 avatar morenoh149 commented on August 16, 2024

provide a code snippit or demo

from bootstrap-stylus.

kane-c avatar kane-c commented on August 16, 2024

Which browser and version? If you could please provide some code or a live sample that would be helpful.

I've been using navbar-right quite often and haven't run into any issues yet.

from bootstrap-stylus.

hugofabricio avatar hugofabricio commented on August 16, 2024

I tested it on Safari, Chrome and Firefox.


from bootstrap-stylus.

morenoh149 avatar morenoh149 commented on August 16, 2024

@hugofabricio whats the bug exactly?

from bootstrap-stylus.

hugofabricio avatar hugofabricio commented on August 16, 2024

When we use the navbar-right class in responsive menu it is not 100%.

from bootstrap-stylus.

morenoh149 avatar morenoh149 commented on August 16, 2024

@hugofabricio you want to make the text justified right. Not the entire drop-down. Try http://devdocs.io/css/text-align Right

from bootstrap-stylus.

maxmx avatar maxmx commented on August 16, 2024

I think he's saying that the drop down menu should be the same width as the viewport. Floated element have to set their widths explicitly, may be a bug.

If you do a fix, please open a PR.

from bootstrap-stylus.

hugofabricio avatar hugofabricio commented on August 16, 2024

That's right, sorry for my English, I'm not using the bootstrap text-right, I'm just stating that the menu by the cell is not 100% as is the right to the bootstrap.

Menu correct

from bootstrap-stylus.

kane-c avatar kane-c commented on August 16, 2024

Could you please post the HTML for your navbar?

from bootstrap-stylus.

hugofabricio avatar hugofabricio commented on August 16, 2024
        <nav class="navbar navbar-default">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu">
                        <span class="sr-only">Menu</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">Brand</a>
                </div>
                <div class="collapse navbar-collapse" id="menu">
                    <ul class="nav navbar-nav navbar-right">
                        <li class="active"><a href="index.html">Home</a></li>
                        <li><a href="about.html">Quem Somos</a></li>
                        <li><a href="buildings.html">Imóveis</a></li>
                        <li><a href="sales.html">Venda Conosco</a></li>
                        <li><a href="contact.html">Contato</a></li>
                    </ul>
                </div>
            </div>
        </nav>

from bootstrap-stylus.

kane-c avatar kane-c commented on August 16, 2024

I believe this is fixed in #89. Specifically these changes to .navbar-left and .navbar-right

from bootstrap-stylus.

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.