1 | initial version |
To enable the use of position:sticky in shinydashboard, you can follow these steps:
/* Enable position:sticky */
.sticky-top {
position: sticky;
top: 0;
z-index: 1030;
}
dashboardHeader(title = "My App", class = "sticky-top")
dashboardHeader(title = "My App", class = "sticky-top", height = 60)
By following these steps, you should be able to enable the use of position:sticky in your shinydashboard app.