Skip to content

Commit 43a2f6c

Browse files
authored
Merge pull request #1173 from xcube-dev/clarasb-xxx-viewer_jupyterlab_compact_mode
Disable compact mode for JuypterLab Viewer integration
2 parents 7d05c11 + d728229 commit 43a2f6c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Added two new versions of the xcube logo, one for dark and one for light themes,
1818
and replaced the logo in the documentation with the light logo.
1919

20+
* Disabled `compact` mode for JupyterLab Viewer integration. (#1173)
21+
2022

2123
## Changes in 1.11.1
2224

xcube/webapi/viewer/viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def show(self, width: Union[int, str] = "100%", height: Union[str, int] = 800):
202202
from IPython.core.display import HTML
203203

204204
return HTML(
205-
f'<iframe src="{self._viewer_url}&compact=1"'
205+
f'<iframe src="{self._viewer_url}&compact=0"'
206206
f' width="{width}"'
207207
f' height="{height}"'
208208
f"/>"

0 commit comments

Comments
 (0)