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

Buttons not styled properly #11

Open
martin-braun opened this issue Jul 24, 2019 · 2 comments
Open

Buttons not styled properly #11

martin-braun opened this issue Jul 24, 2019 · 2 comments

Comments

@martin-braun
Copy link

martin-braun commented Jul 24, 2019

It seems buttons are not rendered the right way. I'm using the HostConfig of Teams in my own SPFX web part, and the buttons are native.

HostConfig taken from here: https://adaptivecards.io/visualizer/index.html?hostApp=Microsoft%20Teams

I'm rendering the button using an open url action:

"actions": [
	{
		"type": "Action.OpenUrl",
		"title": "Anzeigen",
		"url": "https://example.org"
	}
]

And it looks like this:

Screenshot 2019-07-24 at 20 27 58

@pcoutu17
Copy link

I'm having issues with this as well. Were you able to find a temporary fix or workaround?

@martin-braun
Copy link
Author

martin-braun commented Dec 4, 2019

I'm having issues with this as well. Were you able to find a temporary fix or workaround?

You could embed some SCSS in the :global scope of your SPFX webpart's stylesheets to design your buttons in the cards, specifically. But the very right way is to fix this issue here, so the HostConfig gets respected on button styles, too.

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

No branches or pull requests

2 participants