Skip to content

Commit

Permalink
align center and 150px
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Sep 20, 2023
1 parent a19475b commit 2940c47
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion jhub_apps/launcher/panel_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,15 @@ def __init__(self, app: App, **params):
)
)
self.content = pn.Column(
pn.pane.Image(self.app.thumbnail or self.app.logo, link_url=self.app.url, width=100, height=100),
pn.Row(
pn.Spacer(width=50),
pn.pane.Image(
self.app.thumbnail or self.app.logo, link_url=self.app.url, width=150, height=150,
),
pn.Spacer(width=50),
sizing_mode="stretch_width",
align="center"
),
pn.pane.Markdown(
f"""
## {self.app.name}
Expand Down

0 comments on commit 2940c47

Please sign in to comment.