Update overall style

This commit is contained in:
Elias Projahn 2022-12-16 11:44:32 +01:00
parent 373238b4bc
commit c6116d363c
3 changed files with 39 additions and 22 deletions

View file

@ -2,25 +2,8 @@
#' @noRd
custom_css <- function() {
tags$head(
tags$style(HTML(
".nav-hidden { height: 0 }",
".flow-layout > div {",
" display: inline-block;",
" vertical-align: top;",
" margin-right: 12px;",
"}",
".container h2, .container h3 {",
" margin-top: 64px;",
"}",
"",
".container table {",
" margin-top: 32px;",
" margin-bottom: 32px;",
"}",
"",
".container th, .container td {",
" padding: 4px;",
"}"
))
tags$style(HTML(includeText(
system.file("content", "style.css", package = "ubigen")
)))
)
}

4
R/ui.R
View file

@ -16,9 +16,9 @@ ui <- function(custom_dataset = NULL) {
sidebarLayout(
sidebarPanel(
width = 3,
h3("Your genes"),
h5("Your genes"),
gene_selector_ui("custom_genes"),
h3("Method"),
h5("Method"),
selectInput(
"dataset",
label = strong("Expression dataset"),