Skip to content

Commit

Permalink
Update grid container style for proper overflow handling
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectly-preserved-pie committed May 25, 2024
1 parent e135451 commit 70c39cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from components.app_config import create_app, external_stylesheets
from components.html_components import title_card, modal
from dash import Dash, dcc, html, no_update, callback_context
from dash import dcc, html, no_update, callback_context
from dash.dependencies import Input, Output, State
from dash.exceptions import PreventUpdate
from loguru import logger
Expand Down Expand Up @@ -42,7 +42,11 @@
dag.AgGrid(
id='grid',
className="ag-theme-alpine-dark",
style={'width': '100%', 'height': 'calc(100vh - 200px)'}, # Adjust height as needed
style={
'width': '100%',
'height': 'calc(100vh - 200px)',
'overflowX': 'auto',
},
),
id='grid-container',
style={'flex': '1 1 auto', 'overflow': 'hidden'}, # Adjusted style for proper overflow handling
Expand Down

0 comments on commit 70c39cb

Please sign in to comment.