Skip to content
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

v5: Redo blockquote attributions #30814

Merged
merged 4 commits into from
Jun 12, 2020
Merged

v5: Redo blockquote attributions #30814

merged 4 commits into from
Jun 12, 2020

Conversation

mdo
Copy link
Member

@mdo mdo commented May 14, 2020

This is an alternate to #30085.

  • Renames $blockquote-small-* variables to $blockquote-footer-*
  • Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper

TODO:

  • Still need to update blockquotes elsewhere in the docs if this sticks.

Preview: https://deploy-preview-30814--twbs-bootstrap.netlify.app/docs/5.0/content/typography/#naming-a-source

@mdo mdo requested a review from a team as a code owner May 14, 2020 03:37
@XhmikosR

This comment has been minimized.

@ffoodd
Copy link
Member

ffoodd commented May 20, 2020

FWIW, as commented in #30085, the only missing occurrence in your PR is in the Masonry Example: https://deploy-preview-30814--twbs-bootstrap.netlify.app/docs/5.0/examples/masonry/

@XhmikosR XhmikosR added this to Inbox in v5 via automation May 20, 2020
Copy link
Member

@XhmikosR XhmikosR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to take care of @ffoodd's comment and see if there are more instances in the codebase

@XhmikosR
Copy link
Member

And now I see we had it in the TODO already 😛

@XhmikosR
Copy link
Member

XhmikosR commented Jun 4, 2020

@ffoodd if you have some time, can you update the rest of the instances so that we land this please?

@ffoodd
Copy link
Member

ffoodd commented Jun 4, 2020

Done. @mdo The Masonry examples changes a bit with this refactor: since paragraphs become blockquote's :last-child, they lose their bottom margin, making blockquote smaller. Masonry does not compute the same result anymore.

We may reintroduce the previous result by applying margin utilities. Do you have any preference?

mdo and others added 3 commits June 12, 2020 10:47
- Renames -small-* variables to -footer-*
- Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper
@mdo
Copy link
Member Author

mdo commented Jun 12, 2020

I think the masonry page looks fine as-is—not a huge change. Thanks for making the last changes, this looks great!

@XhmikosR XhmikosR self-requested a review June 12, 2020 17:54
v5 automation moved this from Inbox to Approved Jun 12, 2020
@mdo mdo requested a review from XhmikosR June 12, 2020 17:55
@mdo mdo merged commit 286f16b into master Jun 12, 2020
v5 automation moved this from Approved to Shipped Jun 12, 2020
@mdo mdo deleted the v5-blockquotes branch June 12, 2020 21:26
@Glenn-Domin
Copy link

Yep, that works. 👍

olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
* v5: Redo blockquote attributions

- Renames -small-* variables to -footer-*
- Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper

* Updated class name

* docs(examples): refactor blockquotes in masonry example

Co-authored-by: Gaël Poupard <gael.poupard@orange.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v5
  
Shipped
Development

Successfully merging this pull request may close these issues.

None yet

4 participants