Skip to content

Commit

Permalink
Fix handling of loading_max_height (holoviz#3205)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Feb 18, 2022
1 parent c796c02 commit 6adf7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/io/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def loading_css():
return f"""
.bk.pn-loading.{config.loading_spinner}:before {{
background-image: url("data:image/svg+xml;base64,{b64}");
max-height: {config.loading_max_height}px;
background-size: auto calc(min(50%, {config.loading_max_height}px));
}}
"""

Expand Down

0 comments on commit 6adf7df

Please sign in to comment.