-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat: added pictures align features #128
Conversation
Signed-off-by: eknath.baravkar <eknath.baravkar@infosys.com>
Update PR title please review contribution |
@baravkareknath Please, can you add a structured description of what this PR is supposed to do? So far, I see you have changed the alignment options in the model. How do the new options differ from the existing ones. How are these options rendered? |
Hi fsbraun thanks for your replay. Add setting for picture alignment, renders a class or inline stylesdepending on your template setupdef get_alignment(): Hopes that's options are also useful for picture alignment. |
Hi fsbraun, |
@baravkareknath I still do not see how those options are rendered. As far as I can see, the PR adds options to the plugin which do not change its behaviour. To me, it seems a cleaner solution to provide both the I fear the project itself cannot make assumptions about the CSS used. Any idea on how to render those options including top and bottom alignment? |
Hi fsbraun, As per your suggestion I will add CSS file in the same and share new patch of CSS. |
Signed-off-by: eknath.baravkar <eknath.baravkar@infosys.com>
Signed-off-by: eknath.baravkar <eknath.baravkar@infosys.com>
Hi @baravkareknath ! I am not sure if this leads to any significant value add:
Adding the new align options can easily be done in a project's settings file, where no-one needs to guess what CSS classes are available. Maybe it is enough to add an example to the |
Hi fsbraun, |
Description
Related resources
Checklist
master
Slack to find a “pr review buddy” who is going to review my pull request.