Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Graph goes off page in Browser Print Preview

Hi

When I try to Print Preview in my browser, I’m find that my graph is going off the page like this:

html.Div([
            dcc.Graph(
                id='graph1',
                figure={
                    'data' : [],
                    'layout' : go.Layout(
                        title='CHART TITLE',
                        xaxis=dict(
                            title='',
                            dtick=0.25,
                            ),
                        yaxis=dict(title=''),
                        showlegend=True,
                    )
                },
            ),
        ], className='row', style={'padding-left' : '30px', 'padding-right' : '30px'}),

Everything else on my dash (dropdown, tables etc) all fit to page fine so I’m not sure what I’m missing with this!

Just in case it’s something to do with it I’m using https://codepen.io/chriddyp/pen/bWLwgP.css (I’m a little clueless with CSS atm but learning!)

Thanks