Skip to content

Commit cc1969f

Browse files
committed
jupyter_viz: Document why the custom inline CSS is necessary
1 parent edebbdd commit cc1969f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

experimental/jupyter_viz.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ def on_value_play(change):
167167

168168
with solara.Row():
169169
solara.Button(label="Step", color="primary", on_click=viz.do_step)
170+
# This style is necessary so that the play widget has almost the same
171+
# height as typical Solara buttons.
170172
solara.Style(
171173
"""
172174
.widget-play {

0 commit comments

Comments
 (0)