GithubHelp home page GithubHelp logo

Comments (4)

maryna-yanul avatar maryna-yanul commented on August 21, 2024

Maybe it can help you?

https://stackoverflow.com/questions/20403443/how-to-get-just-the-responsive-grid-from-bootstrap-3

from ipywidgets_server.

pbugnion avatar pbugnion commented on August 21, 2024

Thanks for this! Unfortunately, this does not help because it seems that, even the most minimal bootstrap normalizes CSS properties so that the DOM behaves in a similar way across all browsers.

Note that I'm not against normalizing CSS properties in principle. I just think that the CSS we provide needs to match the CSS provided by the ipywidgets embed bundle so that users get a consistent experience.

from ipywidgets_server.

DougRzz avatar DougRzz commented on August 21, 2024

I edit this css file to customise my Notebooks. : C:\Users'UserID'\Miniconda3\Lib\site-packages\notebook\static\style\style.min.css

There are many other ways of customising the Jupyter Notebook. For example, the Stackoverflow answers in the link below suggest several methods to change the width of the Jupyter cells. https://stackoverflow.com/questions/21971449/how-do-i-increase-the-cell-width-of-the-jupyter-ipython-notebook-in-my-browser

Perhaps the user could specify the css file in the command line to override Bootstrap CSS settings. This would enable a consistent experience between Jupyter and ipywidgets-server.

from ipywidgets_server.

pbugnion avatar pbugnion commented on August 21, 2024

When the users can specify their own HTML file (x.ref issue #5 ), they can choose to serve arbitrary CSS (including overriding any bootstrap defaults that they want).

The rationale for this issue is just that bootstrap adds a lot of CSS rules that we don't need, and that might lead to complex errors that are hard for the user to diagnose (like the misaligned buttons in the bqplot example from issue #6).

from ipywidgets_server.

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.