Skip to content

请教下如何设置popup宽度 #677

Closed Answered by wang0618
YinLiu-91 asked this question in Q&A
Discussion options

You must be logged in to vote

可以自定义css样式来调整宽度:

from pywebio import config
config(css_style=".modal-dialog { max-width: 800px !important; }")

不过这样做的影响是全局的。

demo

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@YinLiu-91
Comment options

@wang0618
Comment options

Answer selected by YinLiu-91
@YinLiu-91
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