Skip to content

Commit

Permalink
display header as flex component (fix bs4 alignment)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Jun 28, 2024
1 parent 2f080d4 commit 236dcbf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: esquisse
Type: Package
Title: Explore and Visualize Your Data Interactively
Version: 2.0.0.9000
Version: 2.0.0.9010
Authors@R: c(person("Fanny", "Meyer", role = c("aut")),
person("Victor", "Perrier", email = "victor.perrier@dreamrs.fr", role = c("aut", "cre")),
person("Ian", "Carroll", comment = "Faceting support", role = "ctb"),
Expand Down
20 changes: 10 additions & 10 deletions R/esquisse-ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,24 @@ esquisse_ui <- function(id,
}
header_btns <- make_btn_header(header_btns)
tag_header <- tags$div(
class = "esquisse-title-container bg-primary",
tags$h1("Esquisse", class = "esquisse-title"),
class = "esquisse-title-container bg-primary d-flex justify-content-between",
tags$div(
class = "pull-right float-end",
header_btns$settings(ns("settings")),
header_btns$.after,
header_btns$close(ns("close")),
),
tags$div(
class = "pull-left",
class = "esquisse-header-btns-left",
header_btns$.before,
header_btns$import_data(ns("launch_import_data")),
header_btns$show_data(ns("show_data")),
header_btns$update_variable(ns("update_variable")),
header_btns$create_column(ns("create_col")),
header_btns$cut_variable(ns("cut_var")),
header_btns$update_factor(ns("up_fct"))
)
),
tags$h1("Esquisse", class = "esquisse-title"),
tags$div(
class = "esquisse-header-btns-right",
header_btns$settings(ns("settings")),
header_btns$.after,
header_btns$close(ns("close")),
),
)

ui <- tags$div(
Expand Down

0 comments on commit 236dcbf

Please sign in to comment.