I’d like add a grid layout / borders around a bunch of dbc.Label
s. The layout code is below and the Label
component are populated by a callback.
layout = html.Div([
dbc.Modal(
[
dbc.ModalHeader("info", style={"color":"black", "justify-content":"center"}),
dbc.ModalBody(
[
dbc.Label("Name:"),
dbc.Label("Name:", id="name_d"),
html.Br(),
dbc.Label("Name1:"),
dbc.Label("Name1:", id="name_d1"),
html.Br(),
]
]
)
)]
Here’s how it looks now:
Is there a way to add gridlines / borders around dbc.Label
so that it looks like the screenshot below?