-
Notifications
You must be signed in to change notification settings - Fork 3
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
#164 added alignment config option for level item component #171
#164 added alignment config option for level item component #171
Conversation
|
||
public String getAlignment() { | ||
if (alignment.equals("is-left")) { | ||
return "is-justify-content-flex-start"; |
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.
Would it work for a more complex structure? I mean we could put a container to the level item and some contents inside the container. I think we have to use has-text-left/center/right? And by default we should use has-text-left
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.
I had same question in my head.. Rest changes look good
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.
Or maybe we need both classes?
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.
I think we need both classes. I updated the code.
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.
Looks ok, just one open question to discuss
|
||
public String getAlignment() { | ||
if (alignment.equals("is-left")) { | ||
return "is-justify-content-flex-start"; |
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.
I had same question in my head.. Rest changes look good
Description
Added alignment config option for author.
Motivation and Context
#164
Screenshots (if appropriate)
Upgrade notes (if appropriate)
Types of changes
bug
enhancement
Checklist: