Skip to content

Instantly share code, notes, and snippets.

@darioappsilon
Created January 18, 2021 06:09
001_semantic_grid
myGridTemplate <- grid_template(
default = list(
areas = rbind(
c("title", "map"),
c("info", "map"),
c("user", "map")
),
cols_width = c("400px", "1fr"),
rows_height = c("50px", "auto", "200px")
),
mobile = list(
areas = rbind(
"title",
"info",
"map",
"user"
),
rows_height = c("50px", "100px", "auto", "200px"),
cols_width = c("100%")
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment