✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Datatable display issue in dash 1.8

I also use dbc.NavbarSimple, not sure if that’s relevant.

import pandas as pd
import dash_table
import dash_html_components as html

df = pd.DataFrame()

layout = html.Div([
    dash_table.DataTable(
        columns=[
            {
                'id': 'name',
                'name': 'Name',
            },
            {
                'id': 'score',
                'name': 'Score',
            },

        ],
        data=df.to_dict('records'),
        style_cell={'textAlign': 'left'},
    ),
])

Capture from left of the screen, you can see half of the “Name” column is cut
aaaa