Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing a card in a row with multiple card does not work. #6299

Closed
MarcSkovMadsen opened this issue Feb 4, 2024 · 0 comments · Fixed by #6305
Closed

Closing a card in a row with multiple card does not work. #6299

MarcSkovMadsen opened this issue Feb 4, 2024 · 0 comments · Fixed by #6305
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

I'm on Panel 1.3.8 trying to make an example for the basic tutorial.

I was using cards in a row like below.

import panel as pn

pn.extension(design="fast")

image = pn.pane.PNG("https://assets.holoviz.org/panel/tutorials/wind_turbine.png", height=150, sizing_mode="scale_width")

card1 = pn.Card(image, title='Turbine 1')
card2 = pn.Card(image, title='Turbine 2')

pn.Row(
    card1, card2,
    sizing_mode="fixed", width=600, height=400, styles={"border": "1px solid black"}
).servable()

image

When you click the header of card1 it looks like

image

@MarcSkovMadsen MarcSkovMadsen added the type: bug Something isn't correct or isn't working label Feb 4, 2024
@philippjfr philippjfr added this to the v1.4.0 milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants