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

表格过宽溢出屏幕外怎么办 #42

Open
swcyo opened this issue Sep 3, 2021 · 3 comments
Open

表格过宽溢出屏幕外怎么办 #42

swcyo opened this issue Sep 3, 2021 · 3 comments

Comments

@swcyo
Copy link

swcyo commented Sep 3, 2021

益辉大神好,我最近用hugo-prose主题时,如果knitr出来的表格过宽的话,会出现表格溢出的情况,影响美观,请问这个是在哪里设置,谢谢

@swcyo swcyo changed the title 表格过宽 表格过宽溢出屏幕外怎么办 Sep 3, 2021
@yihui
Copy link
Owner

yihui commented Sep 3, 2021

除了放在 .fullwidth 元素中,几乎别无他法,参见 https://prose.yihui.org/about/。要是表格都超出整个页面宽度的话,那就没有办法了。

@swcyo
Copy link
Author

swcyo commented Sep 3, 2021

除了放在 .fullwidth 元素中,几乎别无他法,参见 https://prose.yihui.org/about/。要是表格都超出整个页面宽度的话,那就没有办法了。

感谢大神回复,可是就是超过了整个页面,但我用DT的话,又只能显示两行

@yihui
Copy link
Owner

yihui commented Sep 3, 2021

同参见上面的页面。下一个例子就是超宽加水平滚动。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants