diff --git a/README.md b/README.md index 9e7b171..419f2fe 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,8 @@ from jupyterlab_h5web import H5Web H5Web('') ``` +The cell height can be resized with the handle at the bottom-right. + An example is provided in [example.ipynb](example.ipynb). ### Supported file formats diff --git a/style/index.css b/style/index.css index 9102ba8..8e36a9a 100644 --- a/style/index.css +++ b/style/index.css @@ -5,7 +5,9 @@ } .h5web-in-cell { - height: 400px; + aspect-ratio: 16 / 10; + min-height: 500px; + max-height: 75vh; width: 100%; resize: vertical; overflow: auto;