Skip to content

Dashboarding with PyWebIO #133

Answered by wang0618
Shahin-rmz asked this question in Q&A
Jun 26, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

I will add a setting item for page width in pywebio.session.set_env.

Now you can use the following code to set the content width:

run_js("""
    $('head').append('<style>.container {max-width: 1080px;}</style>')
    """)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Shahin-rmz
Comment options

Answer selected by Shahin-rmz
Comment options

You must be logged in to vote
1 reply
@wang0618
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants