Skip to content

Commit

Permalink
Merge pull request #32 from robswc/feat/map-ui-improvements
Browse files Browse the repository at this point in the history
feat: Improve map UI
  • Loading branch information
robswc authored May 16, 2024
2 parents 940a694 + 99f6e00 commit 70a52d0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/pages/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def map_card():
figure={},
config={"scrollZoom": True},
responsive=True,
style={"height": "60vh"},
style={"height": "70vh"},
)
),
)
Expand Down Expand Up @@ -101,19 +101,19 @@ def layout(filename: str | None = None, **kwargs):
[map_card()],
xs=12,
sm=12,
md=6,
lg=6,
xl=6,
xxl=6,
md=8,
lg=8,
xl=8,
xxl=8,
),
dbc.Col(
table_card(),
xs=12,
sm=12,
md=6,
lg=6,
xl=6,
xxl=6,
md=4,
lg=4,
xl=4,
xxl=4,
),
],
className="mb-3",
Expand Down Expand Up @@ -196,7 +196,7 @@ def get_or_create_forecast(date_str):
)
fig.update_layout(
# remove legend
margin={"r": 10, "t": 0, "l": 10, "b": 0},
margin={"r": 0, "t": 0, "l": 0, "b": 0},
showlegend=False,
coloraxis=dict(colorbar=dict(orientation="h", y=-0.25)),
)
Expand Down

0 comments on commit 70a52d0

Please sign in to comment.