, . CSS, . css .shiny-split-layout>div overflow auto, shiny.css, css overflow:visible, , .

library(shiny)
library(colourpicker)
shinyApp(
ui = fluidPage(
tags$style(HTML('.shiny-split-layout>div {
overflow:visible;
}')),
sidebarPanel(
splitLayout(
colourInput("PlotThemeColour1",
"Plot theme shade 1",
"#C2C2C2"),
colourInput("PlotThemeColour2",
"Plot theme shade 2",
"#E5E5E5"))),
mainPanel(textOutput("myCols"))
),
server = function(input, output, session) {
output$myCols <- renderText({
paste(input$PlotThemeColour1, "and", input$PlotThemeColour2)
})
})
№ 2:
cellArgs of splitLayout css.
library(shiny)
library(colourpicker)
shinyApp(
ui = fluidPage(
sidebarPanel(
splitLayout(
colourInput("PlotThemeColour1",
"Plot theme shade 1",
"#C2C2C2"),
colourInput("PlotThemeColour2",
"Plot theme shade 2",
"#E5E5E5"), cellArgs = list (style = "overflow:visible"))),
mainPanel(textOutput("myCols"))
),
server = function(input, output, session) {
output$myCols <- renderText({
paste(input$PlotThemeColour1, "and", input$PlotThemeColour2)
})
})