Skip to content

Commit

Permalink
Merge pull request #206 from benjeffery/fix-theme
Browse files Browse the repository at this point in the history
Fix theme switcher
  • Loading branch information
benjeffery authored Oct 21, 2024
2 parents 74d6fbf + 93cefa5 commit 15d917b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions tests/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ def test_component(page, port, tmpdir, save_screenshots):

page.set_viewport_size({"width": 1920, "height": 1080})
expect(page.get_by_role("link", name="Tree Sequence")).to_be_visible()
# needs tskit 0.5.9
# expect(page.get_by_role("cell", name="Provenance Timestamp")).to_be_visible()
expect(page.get_by_role("cell", name="Provenance Timestamp")).to_be_visible()
if save_screenshots:
page.screenshot(path="overview.png")

Expand Down
2 changes: 1 addition & 1 deletion tsbrowse/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def serve(path, port, show, log_level, no_log_filter, annotations_file):

logger.info("Starting panel server")
app_ = app.App(tsm)
pn.serve(app_.view(), port=port, show=show, verbose=False)
pn.serve(app_.view, port=port, show=show, verbose=False)


@cli.command()
Expand Down
3 changes: 0 additions & 3 deletions tsbrowse/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
logger = daiquiri.getLogger("tsbrowse")

RAW_CSS = """
.sidenav#sidebar {
background-color: #15E3AC;
}
.title {
font-size: var(--type-ramp-plus-2-font-size);
}
Expand Down

0 comments on commit 15d917b

Please sign in to comment.