Skip to content

Commit b5ab607

Browse files
authored
Use layout_columns() to layout buttons in themer-demo app (#884)
1 parent 596e8ad commit b5ab607

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

inst/themer-demo/app.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ shinyApp(
105105
verbatimTextOutput("inputPanelOutput"),
106106
br(),
107107
tags$p("Here are some", tags$code("actionButton()"), "s demonstrating different theme (i.e., accent) colors"),
108-
tags$div(
109-
class = "d-flex justify-content-center",
108+
layout_columns(
110109
actionButton("primary", "Primary", icon("product-hunt"), class = "btn-primary m-2"),
111110
actionButton("secondary", "Secondary (default)", class = "m-2"),
112111
actionButton("success", "Success", icon("check"), class = "btn-success m-2"),

0 commit comments

Comments
 (0)