-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add is-centered|right
modifiers to .tags
#1384
Conversation
sass/elements/tag.sass
Outdated
@@ -8,6 +8,16 @@ $tag-delete-margin: 1px !default | |||
display: flex | |||
flex-wrap: wrap | |||
justify-content: flex-start | |||
&.is-centered |
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.
Can you move these after &.has-addons
?
Thanks! That's great. |
* add classes * add to changelig * move to appropriate place * more specific margins
Just a question but does this work? I was trying to use it in my div for tags but it doesn't seem to be pulling them to the right |
@vybhavb sure is, check out this Codepen for an example of it in action: https://codepen.io/timacdonald/pen/QVVoLw |
@timacdonald hmm interesting. I have a div inside a panel-block. Not sure if that's what is causing it not to work but none of my tags get pushed right. Heres an example codepen: https://codepen.io/vybhavb/pen/mGGoea |
ahhh, yup, you'll need to throw |
This is a new feature.
Proposed solution
This allows
.tags .tag
groups to be aligned centre and aligned right. Currently they are only aligned left.Tradeoffs
None come to mind.
Testing Done
Currently doing this in production, works great. Also, here is a codepen I created to show the feature.