Skip to content

Commit b1b1c75

Browse files
committed
Address bokeh sizing issues in slides
1 parent bd12b1c commit b1b1c75

File tree

3 files changed

+32
-26
lines changed

3 files changed

+32
-26
lines changed

slides/3-interactivity.ipynb

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.

slides/templates/larger_font/index.html.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ figcaption {
199199
.slides { /* pull slides to left */
200200
margin-left: -30px !important;
201201
}
202+
.bk-Row { /* Bokeh plots don't respect container sizing, so hide them and use GIFs */
203+
display: none;
204+
}
202205
/* scrollbar formatting */
203206
::-webkit-scrollbar-thumb {
204207
visibility: hidden; /* hide the scrollbar when not in use */

slides/templates/regular/index.html.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ blockquote {
192192
.slides { /* pull slides to left */
193193
margin-left: -20px !important;
194194
}
195+
.bk-Row { /* Bokeh plots don't respect container sizing, so hide them and use GIFs */
196+
display: none;
197+
}
195198
:root {
196199
--jp-ui-font-size1: 11.5px; /* size of tables in outputs */
197200
--jp-content-font-size1: 19px; /* base size of text */

0 commit comments

Comments
 (0)