RinteRface / bs4Dash

Bootstrap 4 shinydashboard using AdminLTE3
https://bs4dash.rinterface.com
Other
428 stars 81 forks source link

Dropdown-menu mobile view opens to right instead of left #336

Open HugoGit39 opened 1 year ago

HugoGit39 commented 1 year ago

Hi

the dropwdown-menu with notifications opens at the right side on mobile outisde the view in stead of right. With Shinydashboard it does opens at the left:

library(shiny)
library(bs4Dash)

ui <- dashboardPage(
  dashboardHeader(title = "My Dashboard",
                  rightUi = (
                    dropdownMenu(type = "notifications",
                                 notificationItem(
                                   text = "5 new users today",
                                   icon("users")
                                 ),
                                 notificationItem(
                                   text = "12 items delivered",
                                   icon("truck"),
                                   status = "success"
                                 ),
                                 notificationItem(
                                   text = "Server load at 86%",
                                   icon = icon("exclamation-triangle"),
                                   status = "warning"
                                 )
                    )
                  )
  ),
  dashboardSidebar(),
  dashboardBody(
  )
)

server <- function(input, output) {

}

shinyApp(ui, server)

bs4dash

Shinydashboard

HugoGit39 commented 1 year ago

@DivadNojnarg Can this also be an enhancement? :)