停止向左浮动,向右浮动

问题描述

使用.pull-left[].pull-right[]编写xaringan幻灯片时,左侧将使用增量幻灯片--更改对象的位置。如果您想讨论添加文本时左侧内容的移动情况,这看起来很糟糕(请参阅所附图片)。有没有一种在线或CSS方式阻止这种情况的发生,因此,例如,在这种情况下,当在右侧添加文本时,shiny.png仍停留在左列的中心:

left only1

When right is added2

class: middle 

.pull-left[ 
\```{r Shiny,echo=FALSE,out.width="100%",fig.align='center'}
knitr::include_graphics("img/Shinyexample.png")
\```
]
--
.pull-right[ 
### Shiny
- Shiny is an R package that makes it easy to build interactive web apps straight from R. 
- You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards. 
- You can also extend your Shiny apps with CSS themes,htmlwidgets,and JavaScript actions.
]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...