Skip to content

Commit

Permalink
Updates to text sizing to make smaller when depolyed to shinyapps.io
Browse files Browse the repository at this point in the history
  • Loading branch information
astrasb committed Aug 5, 2020
1 parent 821005d commit dd53fe8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Stercoralis_RNAseq_Browser/Server/theme_Publication.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
theme_Publication <- function(base_size=12, base_family="Helvetica") {
theme_Publication <- function(base_size=15, base_family="Helvetica") {

(theme_foundation(base_size=base_size, base_family=base_family)
+ theme(plot.title = element_text(face = "bold",
Expand All @@ -7,7 +7,7 @@ theme_Publication <- function(base_size=12, base_family="Helvetica") {
panel.background = element_rect(colour = NA),
plot.background = element_rect(colour = NA),
panel.border = element_rect(colour = NA),
axis.title = element_text(face = "bold",size = rel(1)),
axis.title = element_text(face = "bold",size = rel(.8)),
axis.title.y = element_text(angle=90,vjust =2),
axis.title.x = element_text(vjust = -0.2),
axis.text = element_text(),
Expand Down
14 changes: 9 additions & 5 deletions Stercoralis_RNAseq_Browser/Stercoralis_RNAseq_Browser_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,29 +84,33 @@ ui <- fluidPage(
}
h5 {
font-size: 14px;
font-size: 15px;
font-weight: bold;
}
strong {
font-size: 12px;
font-size: 13px;
font-weight: bold;
}
p{
font-size: 12px;
font-size: 13px;
font-weight: normal;
}
.selectize-input {
word-wrap: break-word;
font-size: 10px;
font-size: 13px;
overflow-x: auto;
}
.selectize-dropdown {
word-wrap: break-word;
font-size: 10px;
font-size: 13px;
}
.form-control {
font-size: 13px;
}
Expand Down

0 comments on commit dd53fe8

Please sign in to comment.