Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dashboard width increased by columns

$
0
0

@lance wrote:

Hello,

Whenever I am trying to use bootrstrap components rows and columns my dashbard expands to the right and I need to scroll my browser window horisontally. Does anyone encounter this issue and knows what might be the reason?

app = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])

app.layout = html.Div(children=[
    
        dbc.Row(
            [
                dbc.Col(html.Div("One of three columns"),style={'background-color': 'rgb(7, 230, 4)'}, width=4),
                dbc.Col(html.Div("One of three columns"),style={'background-color': 'rgb(7, 2, 228)'}, width=4),
                dbc.Col(html.Div("One of three columns"),style={'background-color': 'rgb(7, 230, 228)'}, width=4),
            ],
        ),
    ])

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles