Skip to content

Commit 397ebb9

Browse files
authored
Final UI/UX changes (#1405)
Minor css cleanup
1 parent 6ad8fe4 commit 397ebb9

File tree

3 files changed

+3
-34
lines changed

3 files changed

+3
-34
lines changed

R/tm_a_mmrm.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,9 +668,6 @@ ui_mmrm <- function(id, ...) {
668668
)
669669

670670
tagList(
671-
singleton(
672-
tags$head(includeCSS(system.file("css/custom.css", package = "teal.modules.clinical")))
673-
),
674671
teal.widgets::standard_layout(
675672
output = teal.widgets::white_small_well(
676673
textOutput(ns("null_input_msg")),
@@ -787,7 +784,8 @@ ui_mmrm <- function(id, ...) {
787784
"Fit Model",
788785
icon = icon("calculator"),
789786
width = "100%",
790-
class = "btn action-button text-dark bg-orange mb-4"
787+
class = "btn action-button",
788+
style = "background-color: orange; color: black; margin-bottom: 1rem;"
791789
),
792790
radioButtons(
793791
ns("output_function"),

R/tm_g_barchart_simple.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,10 @@ ui_g_barchart_simple <- function(id, ...) {
239239
is_single_dataset_value <- teal.transform::is_single_dataset(args$x, args$fill, args$x_facet, args$y_facet)
240240

241241
tagList(
242-
singleton(
243-
tags$head(includeCSS(system.file("css/custom.css", package = "teal.modules.clinical")))
244-
),
245242
teal.widgets::standard_layout(
246243
output = teal.widgets::white_small_well(
247244
teal.widgets::plot_with_settings_ui(id = ns("myplot")),
248-
uiOutput(ns("table"), class = "overflow-y-scroll max-h-250")
245+
uiOutput(ns("table"), style = "overflow-y: scroll; max-height: 250px;")
249246
),
250247
encoding = tags$div(
251248
### Reporter

inst/css/custom.css

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)