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

Spinner indicator trigger the scrollbar display in notebook #2068

Closed
xavArtley opened this issue Mar 10, 2021 · 2 comments · Fixed by #2070
Closed

Spinner indicator trigger the scrollbar display in notebook #2068

xavArtley opened this issue Mar 10, 2021 · 2 comments · Fixed by #2070
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@xavArtley
Copy link
Collaborator

The problem occurs when using aspect_ratio as arg
mre:

import panel as pn
pn.extension() # that it works within jupyter notebook
pn.widgets.indicators.LoadingSpinner(value=True, width=50, height=50, aspect_ratio=1)

spinner_scroll_bar

@xavArtley xavArtley added the TRIAGE Default label for untriaged issues label Mar 10, 2021
@xavArtley
Copy link
Collaborator Author

A solution could be to add:

.bk-root .bk.loader {
  overflow: hidden;
}

to the widget css file

@philippjfr
Copy link
Member

Sounds like a sensible fix, can you put it in panel/dist/css/widgets.css?

@philippjfr philippjfr added this to the v0.11.1 milestone Mar 10, 2021
@philippjfr philippjfr added type: bug Something isn't correct or isn't working and removed TRIAGE Default label for untriaged issues labels Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants