Skip to content

Instantly share code, notes, and snippets.

@databyjp
Created March 16, 2020 11:40
Show Gist options
  • Save databyjp/75e58c0970bb7038e3bcfec4da825f14 to your computer and use it in GitHub Desktop.
Save databyjp/75e58c0970bb7038e3bcfec4da825f14 to your computer and use it in GitHub Desktop.
NAVBAR = dbc.Navbar(
children=[
html.A(
# Use row and col to control vertical alignment of logo / brand
dbc.Row(
[
dbc.Col(html.Img(src=PLOTLY_LOGO, height="30px")),
dbc.Col(
dbc.NavbarBrand("Bank Customer Complaints", className="ml-2")
),
],
align="center",
no_gutters=True,
),
href="https://plot.ly",
)
],
color="dark",
dark=True,
sticky="top",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment