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
Dunno how to style the images once they are in a component.
img {...}
...does not seem to work, and:
.Image {...}
...also does not seem to work:
.image {...} with that class added to the component...
.image {...}
...also does not work.
soooooo, how do i style these?
The text was updated successfully, but these errors were encountered:
Also, using tailwind and styles are not applying, being overridden by a default class put on the svelte Image tag?
Sorry, something went wrong.
You have to make your style global in order for it to apply to the Image component :
:global(.your-style){ position: relative; width: 100%; etc. }
Also, you may have to apply it to the class, wrapperClass and placeholderClass depending on what your doing.
k, sort of working, but now how do i apply a conditional class? Like this:
class:playing-border={currentTitle === post.title}
?
No branches or pull requests
Dunno how to style the images once they are in a component.
img {...}
...does not seem to work, and:
.Image {...}
...also does not seem to work:
.image {...}
with that class added to the component......also does not work.
soooooo, how do i style these?
The text was updated successfully, but these errors were encountered: