Giter Site home page Giter Site logo

sidebar responsive design about cmv HOT 3 CLOSED

mezerotm avatar mezerotm commented on July 19, 2024
sidebar responsive design

from cmv.

Comments (3)

ravenusmc avatar ravenusmc commented on July 19, 2024

I think that this problem will not be that hard at all to fix in bootstrap. To start, we need to wrap everything in a <div class="container"> to help make it more responsive. That class, I believe, is bootstraps way of helping to make the page responsive.

from cmv.

mezerotm avatar mezerotm commented on July 19, 2024

So i've done some work on it, and drawn out a solution.

  1. make row B1* dynamic so that when the navbar closes it takes the rest of the area
    *Reference Image - B1 on the maps (left side)
  2. set the navbar css position:fixed on small screens (& make sure positions are all set to 0) but set position:relative on large screens
  3. As for what mike suggested he is right we do need to surround the area in a container, i've decided we specifically need <div class=container-fluid"> this will allow everything to touch the edges of the screen.

I have not yet implemented these changes (with exception to the container) since I still need to make my own branch (i think i will make a UI specific branch) -> i also need to refresh my memory on how to set specific css dependent on screen sized.

from cmv.

ravenusmc avatar ravenusmc commented on July 19, 2024

Carlos, You don't need to set the specific CSS selectors with bootstrap. The container class does that for you! However, if you want more control then yeah you can go ahead and do it! I did it for a project in the fall that I was working on since Bootstrap was not giving me exactly what I wanted!

from cmv.

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.