Skip to content

Commit 0f71508

Browse files
committed
Fix scrollbar on slides for Jupyterlab>4.1
1 parent 4578a75 commit 0f71508

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

js/jupyterlab-slideshow/style/notebook.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ body[data-notebook='notebooks']
7676
background: transparent !important;
7777
}
7878

79-
.jp-Deck .jp-Notebook.jp-mod-scrollPastEnd::after {
79+
/* Both are required for compatibility with Jupyterlab before and after 4.1.0, after
80+
https://github.com/jupyterlab/jupyterlab/commit/6a86d8f163fe11cf7b1964b1ed54999ee2234c8c#diff-ccf3f53605be6603fd5fd949742f25ea8919c48dcc75322c483ebf9988404 */
81+
.jp-Deck .jp-Notebook.jp-mod-scrollPastEnd::after,
82+
.jp-Deck .jp-Notebook.jp-mod-scrollPastEnd > .jp-WindowedPanel-outer::after {
8083
display: none;
8184
}
8285

0 commit comments

Comments
 (0)