Skip to content

Commit

Permalink
fix broken scrolltotop in example
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Aug 1, 2024
1 parent 1d67670 commit bb01db0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion inst/shinydashboardPlus-2.0.5/js/shinydashboardPlus.js
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ $(function() {
if ($("body").attr("data-scrollToTop") == 1) {
var $slideToTop = $("<div />");

$slideToTop.html('<i class="fa fa-chevron-up"></i>');
$slideToTop.html('<i class="fas fa-chevron-up"></i>');

$slideToTop.css({
position: "fixed",
Expand Down
2 changes: 1 addition & 1 deletion inst/shinydashboardPlus-2.0.5/js/shinydashboardPlus.min.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/vignettes-demos/scrollToTop/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library(shinydashboardPlus)

shinyApp(
ui = dashboardPage(
options = list(sidebarExpandOnHover = TRUE),
scrollToTop = TRUE,
header = dashboardHeader(),
sidebar = dashboardSidebar(minified = TRUE, collapsed = TRUE),
body = dashboardBody(
Expand Down
2 changes: 1 addition & 1 deletion srcjs/shinydashboardPlus-2.0.5/miscellaneous.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $(function() {
if ($("body").attr("data-scrollToTop") == 1) {
var $slideToTop = $("<div />");

$slideToTop.html('<i class="fa fa-chevron-up"></i>');
$slideToTop.html('<i class="fas fa-chevron-up"></i>');

$slideToTop.css({
position: "fixed",
Expand Down
2 changes: 1 addition & 1 deletion vignettes/shinydashboardPlus.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Below is a simple app you may build with `{shinydashboardPlus}`. We explicitly c
card(
shiny::tags$iframe(
class = "html-fill-item",
src = "https://shinylive.io/r/app/#h=0&code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAGwEsAjAJykYE8AKAZwAtaJWAlAB0IdJiw48+rACZQe9IixnDRDZmy69+chUsYyACtQCunVVP4BBdOxEACRydr2AvPd3dFyw1ADmcHYQjiFEqKS0JJxu9nScpFy0MnD0LACiAB6oUBAyAPIQABJEAG5wjDEAKlgAqmkCuA4h9txwUMkV7p7eBoVtHewNTSGcSSksMd36MgDKY6mM7DB8tABmtHAyVbVpuPbE1NRonJvbdUPBzYoyrJPyXtMAQkQ3Qc2OR+jUHACMiABMAAY9ooMnsAO5JUjcGI-f57CKkahwGJCMCgtGqd4Xd7EMiMIjUBZ3PTKADCJFIBKJLEGjUuIURyNRYAAIvcekZ-HA0cMcY4Towyp17KsTBACBESOw+KgTKQ9kR5XLSAJ7CB7ABfBwCMCagC6QA",
src = "https://shinylive.io/r/app/#h=0&code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAGwEsAjAJykYE8AKAZwAtaJWAlAB0IdJiw48+rACZQe9IixnDRDZmy69+chUsYyACtQCunVVP4BBdOxEACRydr2AvPd3dFyw1ADmcHYQjiGcBIxE1NQAKkSxqG720VgAqgCiuA4h9txwUDJwjIme3gYAEnkFjOwCmcHZnLQF9CzF8l76MgDKTXAt1TB8tABmtHAyicnpuPbEUWic45OpabVZIYoyrG16ygBCRFtB2Y7UaKjUHACMiABMAAwzigAeMwDuTaTciVe3M6S0UjUOCJIRgF5g1QnNb1ELEMgRaj9HYdZQAYRIpER-RqdROAKBIPcYIAIu1SkZ-HAwesYaFCgA3QqJYYmCAEAEkdh8VAmUgzIh83mkAT2ED2AC+DgEYAlAF0gA",
height = "800",
width = "100%",
style = "border: 1px solid rgba(0,0,0,0.175); border-radius: .375rem;",
Expand Down

0 comments on commit bb01db0

Please sign in to comment.