Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report]previewOnly模式下宽度没有占满父容器 #246

Closed
lshunran opened this issue Jun 7, 2022 · 2 comments
Closed

[Bug report]previewOnly模式下宽度没有占满父容器 #246

lshunran opened this issue Jun 7, 2022 · 2 comments
Labels
🐞bug Something isn't working
Milestone

Comments

@lshunran
Copy link

lshunran commented Jun 7, 2022

Describe the bug
在使用defaultModel: 'previewOnly'时,看到源码里固定了一个内联样式width: 50%,导致preview区域宽度恒为父容器的一半

To Reproduce
直接访问demo即可复现:https://tencent.github.io/cherry-markdown/examples/preview_only.html
image

Expected behavior
preview区域的宽度应于父容器宽度保持一致

Screenshots
image

Environment (please complete the following information):

  • Version 0.7.3
@lshunran lshunran changed the title [Bug report] [Bug report]previewOnly模式下宽度没有占满父容器 Jun 7, 2022
@humyfred humyfred added the 🐞bug Something isn't working label Jun 7, 2022
@humyfred
Copy link
Collaborator

humyfred commented Jun 7, 2022

收到,这两天会更新问题

@sunsonliu
Copy link
Collaborator

已修复,是 9f227e1 这个提交引入的问题,已回滚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants