用R Markdown中的可反应表的响应式设计
我保存了可反应表,这些表我将其读为R Markdown文档。 R Markdown文档是使用Blogdown
和Hugo构建的网站的一部分。
桌子,T1和T2足够狭窄,可以在移动设备上符合每个功能。并排他们太宽。
在大屏幕上,我希望将表格并排显示在两列中。
T1 T2
在手机上,我希望桌子像这样:
T1
t2
rmarkDown
---
title: "Table Test"
description: "Responsive design with two reactable tables."
categories: []
tags: []
output:
html_document:
includes: header.html
---
<h1>My Tables</h1>
```{r, echo=FALSE, message=FALSE, warning=FALSE}
library("qs")
library("reactable")
T1 <- qread("/data/T1.qs")
T2 <- qread("/data/T2.qs")
T1
T2
```
i think 我想要的只是在1行响应式的HTML表中让可反应的表为单元格2列。这是怎么做的?
I have saved reactable tables that I read into an R Markdown document. The R Markdown document is part of a website that is built with blogdown
and Hugo.
The tables, T1 and T2 are narrow enough to each fit OK on a mobile device. Side by side they are too wide.
On a big screen I want the tables to be displayed side-by-side, in two columns.
T1 T2
On a mobile phone, I'd like the tables to be like so:
T1
T2
RMarkdown
---
title: "Table Test"
description: "Responsive design with two reactable tables."
categories: []
tags: []
output:
html_document:
includes: header.html
---
<h1>My Tables</h1>
```{r, echo=FALSE, message=FALSE, warning=FALSE}
library("qs")
library("reactable")
T1 <- qread("/data/T1.qs")
T2 <- qread("/data/T2.qs")
T1
T2
```
I think all I want is to have the reactable tables be cells in a responsive HTML table of 1 row and 2 columns. How is this done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论