Skip to content

Commit

Permalink
Merge pull request #786 from pharmaR/jt-adjust_selectize_inputs
Browse files Browse the repository at this point in the history
Adjust custom CSS
  • Loading branch information
aclark02-arcus authored Jun 4, 2024
2 parents 13ca74e + aec05f3 commit 2daf3ed
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
8 changes: 8 additions & 0 deletions inst/app/www/css/metric_select.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
width: 90%;
}

.selectize-input {
padding: .75rem 1.5rem;
}

.shiny-input-select.selectize-control.multi .selectize-input.has-items {
padding: .75rem 1.5rem calc(.75rem - 5px);
}

.file_browser h1,
.file_browser .h1,
.file_browser h2,
Expand Down
14 changes: 13 additions & 1 deletion inst/app/www/css/modal_elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ div[data-rank-id] {
display: flex;
border: 1px solid black;
margin-bottom: 5px;
padding-top: 5px;
padding: 5px 0;
border-radius: 10px;
}

Expand All @@ -31,6 +31,18 @@ div[data-rank-id] div.shiny-input-container {
width: 33.33%;
}

div[data-rank-id] div.shiny-input-container > div {
height: 100%;
}

div[data-rank-id] div.shiny-input-select.selectize-control {
height: inherit;
}

div[data-rank-id] div.selectize-input {
height: inherit;
}

div[data-rank-id] div.shiny-bound-output {
margin: 0;
}
Expand Down
12 changes: 6 additions & 6 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@
"RoxygenNote": "7.3.0",
"Author": "Sebastien Rochette [aut, cre] (<https://orcid.org/0000-0002-1565-9313>),\n Vincent Guyader [aut] (<https://orcid.org/0000-0003-0671-9270>),\n Arthur Bréant [aut] (<https://orcid.org/0000-0003-1668-0963>),\n Murielle Delmotte [aut] (<https://orcid.org/0000-0002-1339-2424>),\n ThinkR [cph]",
"Maintainer": "Sebastien Rochette <[email protected]>",
"Built": "R 4.3.3; ; 2024-05-31 13:28:09 UTC; unix",
"Built": "R 4.3.3; ; 2024-05-31 13:18:53 UTC; unix",
"RemoteType": "github",
"RemoteUsername": "thinkr-open",
"RemoteRepo": "checkhelper",
Expand Down Expand Up @@ -1303,7 +1303,7 @@
"Imports": "callr,\ncranlike (>= 1.0.2),\ncurl,\ndesc (>= 1.1.0),\ndigest,\nparsedate,\nrappdirs,\nrematch2,\ntools,\nutils,\nwithr",
"Suggests": "covr,\npingr,\ntestthat,\nzip",
"Encoding": "UTF-8",
"Built": "R 4.3.3; ; 2024-05-31 13:28:18 UTC; unix",
"Built": "R 4.3.3; ; 2024-05-31 13:19:02 UTC; unix",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteUsername": "r-lib",
Expand Down Expand Up @@ -4425,7 +4425,7 @@
"RoxygenNote": "7.2.3",
"Author": "Gábor Csárdi [cre, aut, cph],\n Hadley Wickham [aut],\n RConsortium [cph],\n RStudio [cph, fnd]",
"Maintainer": "Gábor Csárdi <[email protected]>",
"Built": "R 4.3.3; ; 2024-05-31 13:28:51 UTC; unix",
"Built": "R 4.3.3; ; 2024-05-31 13:19:35 UTC; unix",
"RemoteType": "github",
"RemoteUsername": "r-lib",
"RemoteRepo": "revdepcheck",
Expand Down Expand Up @@ -4543,7 +4543,7 @@
"Config/testthat/edition": "3",
"Author": "R Validation Hub [aut],\n Doug Kelkhoff [aut],\n Marly Gotti [aut],\n Eli Miller [cre, aut],\n Kevin K [aut],\n Yilong Zhang [aut],\n Eric Milliman [aut],\n Juliane Manitz [aut],\n Mark Padgham [ctb],\n PSI special interest group Application and Implementation of\n Methodologies in Statistics [cph]",
"Maintainer": "Eli Miller <[email protected]>",
"Built": "R 4.3.3; ; 2024-05-31 13:28:56 UTC; unix",
"Built": "R 4.3.3; ; 2024-05-31 13:19:40 UTC; unix",
"RemoteType": "github",
"RemoteUsername": "pharmaR",
"RemoteRepo": "riskmetric",
Expand Down Expand Up @@ -6238,10 +6238,10 @@
"checksum": "db3fa629d919a07f029f3d98d171c916"
},
"inst/app/www/css/metric_select.css": {
"checksum": "122322b9c24413d0c795540b3117f667"
"checksum": "86c09f9af929a374ed3a3c2cf4757a09"
},
"inst/app/www/css/modal_elements.css": {
"checksum": "bc7073450d41b9c98c33eb9faf72a56b"
"checksum": "c36fa09520fd60baa577d3b9f2268c2e"
},
"inst/app/www/favicon.ico": {
"checksum": "cb6c05eadc2b19ec417dae94e3adbcd3"
Expand Down

0 comments on commit 2daf3ed

Please sign in to comment.