Skip to content

Commit

Permalink
Fix PerspectiveWidget resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Aug 30, 2023
1 parent 71321bc commit e60a2ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/perspective-jupyterlab/src/less/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@

div.PSPContainer {
overflow: auto;
resize: both;
padding-right: 5px;
padding-bottom: 5px;
height: 100%;
width: 100%;
flex: 1;
}

.jp-Notebook div.PSPContainer {
resize: vertical;
}

// Widget height for Jupyterlab
.jp-NotebookPanel-notebook div.PSPContainer {
height: 520px;
Expand All @@ -32,11 +36,6 @@ div.PSPContainer {
margin: auto;
}

// Widget height for Voila
.jp-OutputArea-output div.PSPContainer {
height: 520px;
}

// Widget height for Jupyter Notebook
.jupyter-widgets-view div.PSPContainer {
height: 520px;
Expand Down
1 change: 1 addition & 0 deletions python/perspective/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def run_check(self):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
],
keywords="analytics tools plotting",
packages=find_packages(exclude=["bench", "bench.*"]),
Expand Down

0 comments on commit e60a2ac

Please sign in to comment.