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

fix: expand adaptive card to full width of container #431

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rohit-gohri
Copy link

I developed a drone plugin recently that shows junit test report summary in the cards view. Noticed that the card doesn't expand to take full width of container. So adding this small fix to make the card expand to 100% width.

Before

image

After

image

References

The adaptive cards library doesn't have a class name option but only a style prop option so did not use scss class to apply this - https://github.com/microsoft/AdaptiveCards/blob/45bd09ddac089832f1ca545788a622bbf9a16bf8/source/nodejs/adaptivecards-react/src/adaptive-card.tsx#L22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant