datastorm-open / shinymanager

Simple and secure authentification mechanism for single shiny applications.
https://datastorm-open.github.io/shinymanager/
379 stars 79 forks source link

align text and image on login page #156

Open sm2607 opened 1 year ago

sm2607 commented 1 year ago

Hi, I want to align text on left and image on right in same line at top of login page. (in example below, "Demo" should be on left and logo in right side at top of login page). But not able to achieve this.

ui <- fluidPage(

auth_ui(
id = "auth",
tags_top =
tags$div(
tags$h4("Demo", style = "align:left"),
tags$img(
src = "https://www.r-project.org/logo/Rlogo.png", width = 100
)
))