Skip to content

Commit 7364a6e

Browse files
committed
Update download button for new panel release
1 parent 17df307 commit 7364a6e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

panel/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,8 @@ def csv_data(
448448
button_type="success",
449449
filename="simdec.csv",
450450
width=150,
451-
height_policy="min",
452451
label="Download",
453-
styles={"margin-top": "0"},
454-
# align="center" # does not work
452+
align="center",
455453
)
456454

457455
info_button = pn.widgets.Button(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737

3838
[project.optional-dependencies]
3939
dashboard = [
40-
"panel",
40+
"panel>=1.3.0",
4141
"cryptography",
4242
]
4343

0 commit comments

Comments
 (0)