f7Padding | R Documentation |
f7Padding
adds padding to the given tag.
f7Padding(tag, side = NULL)
tag |
Tag to apply the padding. |
side |
padding side: "left", "right", "top", "bottom", "vertical" (top and bottom), "horizontal" (left and right). Leave NULL to apply on all sides. |
David Granjon, dgranjon@ymail.com
if(interactive()){ library(shiny) library(shinyMobile) cardTag <- f7Card( title = "Card header", f7Padding( p("The padding is applied here.") ), footer = tagList( f7Button(color = "blue", label = "My button", href = "https://www.google.com"), f7Badge("Badge", color = "green") ) ) shinyApp( ui = f7Page( title = "Padding", f7SingleLayout(navbar = f7Navbar(title = "f7Padding"), cardTag) ), server = function(input, output) {} ) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.