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

Empty/removed widgets have padding and border #2074

Closed
flying-sheep opened this issue May 14, 2018 · 3 comments
Closed

Empty/removed widgets have padding and border #2074

flying-sheep opened this issue May 14, 2018 · 3 comments
Labels
resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.

Comments

@flying-sheep
Copy link
Contributor

flying-sheep commented May 14, 2018

tqdm_notebook(leave=False) leaves HTML like

<div class="p-Widget p-Panel jp-OutputArea-child">
    <div class="p-Widget jp-OutputPrompt jp-OutputArea-prompt"></div>
    <div class="p-Widget p-Panel p-mod-hidden jp-OutputArea-output"></div>
</div>

And while the latter child div ishidden, the former retains space. Would it be possible to add CSS like:

.jp-OutputArea-child > .p-Widget.jp-OutputPrompt.jp-OutputArea-prompt {
    --jp-border-width: 0;
    --jp-code-padding: 0;
}
@flying-sheep
Copy link
Contributor Author

hello? anyone here?

@vidartf
Copy link
Member

vidartf commented Nov 6, 2018

Sorry that no one picked this up. Do you think this issue is related to what you are describing? #1845

@flying-sheep
Copy link
Contributor Author

ah, looks like it! thank you

@lock lock bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label May 21, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

No branches or pull requests

2 participants