Skip to content

Commit

Permalink
fixes size containe
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Jun 16, 2023
1 parent 5cb118b commit 4c637b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/latex_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ def test_widget_latex_solara(solara_test, page_session: playwright.sync_api.Page
# we tried a FloatSlider before, but that seems to give unstable images (handle moves around randomly)
label = widgets.Label(value=r"$E \sim mc^2$")
label.add_class("test-class-latex")
display(label)
container = widgets.VBox([label], layout={"width": "200px", "height": "100px"})
display(container)

page_session.locator(".test-class-latex >> .mjx-c1D438").wait_for()
page_session.evaluate("document.fonts.ready")
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4c637b5

Please sign in to comment.