Don't wrap text in verbatimTextOuput in Safari. Closes #2233

This commit is contained in:
Winston Chang
2019-03-11 11:05:32 -05:00
parent f6e8e645f2
commit f651d4a274

View File

@@ -12,6 +12,13 @@ pre.shiny-text-output.noplaceholder:empty {
height: 0;
}
/* Some browsers (like Safari) will wrap text in <pre> tags with Bootstrap's
CSS. This changes the behavior to not wrap.
*/
pre.shiny-text-output {
word-wrap: normal;
}
.shiny-image-output img.shiny-scalable, .shiny-plot-output img.shiny-scalable {
max-width: 100%;
max-height: 100%;