-
Notifications
You must be signed in to change notification settings - Fork 44
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
Update: Add has-numbered-pins class when using numbered pins (fix #320) #321
Conversation
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.
👍
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.
Nice addition thanks @swashbuck.
Should .has-numbered-pins
be exclusive to the standard configuration only (clickable 'pin' icons overlaying the main image)? The other two layouts, custom pin image and _useGraphicsAsPins
don't display number pins and already have their own set styles. Potentially there could be a conflict of styles but seeing as we're not attaching any styles to .has-numbered-pins
then happy to leave as is for developers to address in their own custom styles.
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.
👀
@kirsty-hames That makes sense. I've moved the class to the pin buttons themselves and changed the name to |
Fixes #320
Fix
Update
is-numbered-pin
class when using numbered pinsTesting
_useNumberedPins
on a Hot Graphic..hotgraphic__pin
elements and ensure the new class is present.