@darmendariz wrote:
I am trying to put a button to the right of a Navbar like this:
navbar_from_dashboard = dbc.Navbar( [ dbc.Row( [ dbc.Col(html.Img(src="data:image/jpg;base64,{}".format(encoded_logo1.decode()), height="80px")), ], dbc.Row( [ dbc.Col(html.Img(src="data:image/png;base64,{}".format(encoded_logo2.decode()), height="80px")), ], ), dbc.NavbarBrand("Dashboard"), dcc.LogoutButton(logout_url='/logout') ], color="dark", dark=True, )
I want the LogoutButton to be in the right of the Navbar, but I don’t know how to achieve this. I have tried lots of things but the button still shows right next to the NavbarBrand.
Posts: 2
Participants: 2