Skip to content

Commit

Permalink
make the KPI graphs scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDietz committed Jul 29, 2024
1 parent 8631891 commit c31905a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/comgra/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1508,6 +1508,11 @@ def display_kpi_graphs(self, trials_value):
return html.Div(children=[
content_div,
], style={
# TODO improve this. The DIV should always fill the remainder of the screen.
# This is difficult to do when you are writing code that doesn't know
# the height of other elements on screen.
'height': 'calc(100vh - 100px)',
'overflow-y': 'auto',
})

@utilities.runtime_analysis_decorator
Expand Down

0 comments on commit c31905a

Please sign in to comment.