Open AmnestyAM opened 4 months ago
The caption looks weird, might need to flag this in training
Also the alignment control dont seem to do anything, might also be another training thing, unless you have thoughts @Gentyspun or @jaymcp
also what are you thoughts about the width? I was kind of expecting it to fill the horizontal space and then be constrained by the column it was in, but looks like we have a max width, I am not opposed to this just wanted your thoughts? Will this approach work well for this pattern being added into our sidebar and or 1/3 or 1/4 layouts?
Alignment, in the CMS it looks centered in the CMS when alignment is set to none, in the front end the card is bigger 480px wide and left aligned.
Alignment, in the CMS is left aligned in the CMS when set to 1468 in the CMS. The card is smaller in the front end at 350px.
Let me know your thoughts.
PS I might still pass this as its probably not blocking, just wanted your thoughts too
one other thing...
I still see the option to add the Custom Card Custom block (as well as the pattern).
I also don't see the custom block converting to the pattern here -> https://isaidotorgstg.wpengine.com/en/wp-admin/post.php?post=211890&action=edit
Hey @AmnestyAM
I have a few notes/questions about your comments.
The image caption is just an issue with padding so I can fix that easily just adding padding to either side of the caption.
In regards to alignment, currently there is no alignment options only width (Normal and Wide), which is in line with how the block used to work. I'm happy to change this, but just wanted to clarify what you think is best for the pattern. So here are a couple of options:
Currently the normal and wide options just work with a max-width on the group I believe.
I think to fill the space is better then have someone use columns. We will tell people not to add a card in a page or post without columns, it should be used in columns or in a sidebar.
Thanks,
I think to fill the space is better then have someone use columns. We will tell people not to add a card in a page or post without columns, it should be used in columns or in a sidebar.
Thanks,
PRs for custom card to fill it's container Theme: https://github.com/amnestywebsite/humanity-theme/pull/475 Branding Plugin: https://github.com/amnestywebsite/wp-plugin-amnesty-branding/pull/53
https://wordpresstheme.amnesty.org/blocks/b014-action/