ipywidgets_server
ipywidgets_server copied to clipboard
Custom HTML
You should be able to pass in your own custom HTML template.
(because everyone loves customisation!)
This looks very useful. How can this feature be used in practise? For example, my served web application doesn't make use of the full width of the screen. It is more like the default jupyter notebook portrait view. Is it possible to modify this max width setting?
To answer my previous comment and for those who are looking to change the default css style of their served dashboard, edit the css in the following file: \site-packages\ipywidgets_server\static\index.html and edit the .ipywidgets-server-contents-container, An example is shown below where I have increased the width of the output.
.ipywidgets-server-contents-container {
height: 95vh;
padding-top: 5vh;
width:90%;
margin-left:5%;
margin-right:auto;
}