We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The socials icons are not showing on Safari because the SVG's don't have height and width set.
I am using craft.socialShare.renderButton function to render the social links.
4.5.5
1.0.3
No response
The text was updated successfully, but these errors were encountered:
That's interesting, what version of Safari? On 17.1 they seem to render okay for me
Here's a quick example:
{{ craft.socialShare.renderButton('appStore', { url: 'https://craftcms.com', theme: { showIcon: true, shape: 'circle', iconColor: 'white', bgColor: 'brand', }, }) }}
Which renders:
The height is controlled via CSS:
[data-social-button] { --size: 40px; height: var(--size); line-height: var(--size); }
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The socials icons are not showing on Safari because the SVG's don't have height and width set.
I am using craft.socialShare.renderButton function to render the social links.
Steps to reproduce
Craft CMS version
4.5.5
Plugin version
1.0.3
Multi-site?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: