Skip to content

Commit a9ff16b

Browse files
authored
Merge pull request #684 from The-Strategy-Unit/683-linebreak
Small text tweaks around the prediction slider
2 parents 32b0788 + 97100e6 commit a9ff16b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

R/mod_mitigators_server.R

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,10 @@ mod_mitigators_server <- function(
543543
shiny::validate(
544544
shiny::need(
545545
nrow(nee_params) > 0,
546-
"This TPMA was not part of the National Elicitation Exercise,
547-
so a nationally-determined estimate is not available."
546+
paste(
547+
"This TPMA was not part of the National Elicitation Exercise,",
548+
"so a nationally-determined estimate is not available."
549+
)
548550
)
549551
)
550552

@@ -610,9 +612,8 @@ mod_mitigators_server <- function(
610612

611613
output$slider_interval_text <- shiny::renderUI({
612614
text <- glue::glue(
613-
"Adjusting this slider will change the width of the",
614-
"corresponding yellow-highlighted region in the trend, funnel",
615-
"and boxplot charts above.",
615+
"Click a slider handle and use your arrow keys for finer control.",
616+
"Your interval is shown as a yellow range on the trend, funnel and boxplot charts.",
616617
.sep = " "
617618
)
618619

0 commit comments

Comments
 (0)