Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManyWidgets.ipynb mount_id #50

Open
guimillet opened this issue Oct 7, 2021 · 1 comment
Open

ManyWidgets.ipynb mount_id #50

guimillet opened this issue Oct 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@guimillet
Copy link
Contributor

guimillet commented Oct 7, 2021

Description

image

Reproduce

  1. Add "voila": {"template": "vuetify-default"} to the notebook metadata of ManyWidgets.ipynb
  2. Render ManyWidgets.ipynb with voila

Or run voila --template vuetify-default ManyWidgets.ipynb (I have not tried)

Solution

Replace 'mount_id': 'content' with 'mount_id': 'content-main'.

@guimillet guimillet added the bug Something isn't working label Oct 7, 2021
@guimillet
Copy link
Contributor Author

guimillet commented Oct 7, 2021

If ManyWidgets.ipynb is for the vuetify-base template, then this should be specified somewhere (notebook's metadata or in the readme). But with that template, there is a display issue: the row-class div element takes all the window height instead of the height of its content, such that the buttons that overflow appear below the window height. This display issue can be solved by placing the Row widget inside a Container widget (which also avoids having the first button cut on the left due to the negative padding of Row).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant