-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
Just started reviewing :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since class .sticker
has position: relative
adding a span
inside with .sticker-overlay
should not be a problem. Go for it, add it as default wrapper on all stickers, remove it from ClayUserCard
and update the ussage by passing imageSrc
to it. Nice catch @matuzalemsteles !
Btw... stop working and enjoy your holidays!! 😂
@@ -72,7 +72,21 @@ | |||
{@param? imageAlt: string} | |||
{@param? imageSrc: string} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact this two params should be mandatory for this .image
template, so we can get rid of let
and just place the variables in the image, or at least remove the conditions.
Resent #237 |
hey @carloslancha,
ClayUserCard
customize thelabel
ofClaySticker
mean that we are duplicating the markup, but it is obliged to use thesticker-overlay
class in the label to be positioned correctly, we can add as default inClaySticker
but I do not know what effects it can cause it being used on other components. What do you think about this?