Fix flexCol on RStudio Desktop for Win/Linux

RStudio Desktop requires the older -webkit vendor-prefixed
flex box properties. I missed the one for flex-direction.
This commit is contained in:
Joe Cheng
2016-01-20 09:18:15 -08:00
parent b658983fb8
commit 543e66eb00
2 changed files with 3 additions and 0 deletions

View File

@@ -525,6 +525,8 @@ flexfill <- function(..., direction, flex, width = width, height = height) {
display = "-webkit-flex",
display = "-ms-flexbox",
display = "flex",
.webkit.flex.direction = direction,
.ms.flex.direction = direction,
flex.direction = direction,
width = validateCssUnit(width),
height = validateCssUnit(height)