瀏覽代碼

Set overflow-y: scroll for long outputs

tags/v0.1.0^2
Garrick Aden-Buie 8 年之前
父節點
當前提交
8d5a2a2230
共有 1 個文件被更改,包括 8 次插入 和 3 次删除
  1. +8
    -3
      R/regex_gadget.R

+ 8
- 3
R/regex_gadget.R 查看文件

flex = c(1, 3), flex = c(1, 3),
fillCol( fillCol(
flex = c(1, 1), flex = c(1, 1),
textInputCode('pattern', 'Regex', width = "90%",
textInputCode('pattern', 'Regex', width = "100%",
placeholder = "Enter regex, single \\ okay"), placeholder = "Enter regex, single \\ okay"),
checkboxGroupInput( checkboxGroupInput(
'regex_options', 'regex_options',
), ),
tags$div( tags$div(
class = "gadget-result", class = "gadget-result",
style = "overflow-y: scroll; height: 100%;",
htmlOutput('result') htmlOutput('result')
) )
) )
selectInput('regexFn', label = 'Apply Function', selectInput('regexFn', label = 'Apply Function',
choices = regexFn_choices) choices = regexFn_choices)
), ),
verbatimTextOutput('output_result',
placeholder = TRUE)
# verbatimTextOutput('output_result', placeholder = TRUE)
tags$pre(
id = "output_result",
class = "shiny-text-output",
style = "overflow-y: scroll; height: 100%;"
)
) )
) )
), ),

Loading…
取消
儲存