Skip to content

Commit

Permalink
Merge pull request #93 from silx-kit/resize-readme
Browse files Browse the repository at this point in the history
Document resize in README and tune H5Web cell height
  • Loading branch information
loichuder authored Oct 13, 2022
2 parents 370d24e + 07758b3 commit 6972ee0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ from jupyterlab_h5web import H5Web
H5Web('<path to the HDF5 file>')
```

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
Expand Down
4 changes: 3 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6972ee0

Please sign in to comment.