Dash DataTable CSS from page

Is there a way to make Dash DataTable to inherit the CSS from the page? Like font, padding, alignment and board styles. The Dash DataTable is really awesome but I would like it to have the same style from my standard HTML tables.

2 Likes

i think you can use the className=“app-footer bg-success” i have a class named app-footer so it’s functional.
html.A([

                    html.Img(

                        src=app.get_asset_url("#),

                        style={'height':'4%','width':'8%','float':'right','position':'relative','padding-top':'20px','padding-right':0}

                    )],href="#",target='_blank'),

                html.P('@copyright2021',className='d-flex flex-row p-2 w-25 m-2 font-weight-bold text-light'),

            ]),width=12,className="app-footer bg-success"