You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add the CSS file provided by the package - it seems like the styles for img are missing/misconfigured resulting in profile image not displaying correctly
The profile image display starts working correctly if I copy the following style from the docs page:
img,video {
max-width:100%;
height: auto;
}
The text was updated successfully, but these errors were encountered:
We implemented it this way to provide flexibility, allowing you to use your own global CSS for the <img> and <video> tags if needed. Alternatively, if you prefer to use our styles, you can simply apply the CSS you have already copied.
Hmm, this doesn't make sense to me? These don't need to be global img/video styles - they just need to apply within the component, otherwise the image/video display within the component is broken with the CSS you provide.
Also when I say I copied it from the docs page is not that it's documented as an option, it's me investigating - why is image display broken for me when I use the CSS shipped with the package, and discovering you applying those global styles in your example to make it work
If I add the CSS file provided by the package - it seems like the styles for img are missing/misconfigured resulting in profile image not displaying correctly
The profile image display starts working correctly if I copy the following style from the docs page:
The text was updated successfully, but these errors were encountered: