Changes between Initial Version and Version 1 of Ticket #46239
- Timestamp:
- 02/12/2019 08:02:38 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46239 – Description
initial v1 1 An upcoming Gutenberg change will effect behavior of the border on pullquote blocks:1 An upcoming Gutenberg change will effect behavior of the border on quote blocks: 2 2 3 3 https://github.com/WordPress/gutenberg/pull/13248 … … 5 5 This change will mean: 6 6 7 - Pullquote blocks that are left-aligned will have a left border (like they do today).8 - Pullquote blocks that are centered will have no border.9 - Pullquote blocks that are right-aligned will have a right border.7 - Quote blocks that are left-aligned will have a left border (like they do today). 8 - Quote blocks that are centered will have no border. 9 - Quote blocks that are right-aligned will have a right border. 10 10 11 Twenty Nineteen's custom styles currently force a left border on pullquote blocks, regardless of their alignment. This leads to double borders on right-aligned elements when testing that PR:11 Twenty Nineteen's custom styles currently force a left border on quote blocks, regardless of their alignment. This leads to double borders on right-aligned elements when testing that PR: 12 12 13 13 [[Image(https://cldup.com/BgZMzFsMzd-2000x2000.png)]] 14 14 15 This PR adjusts Twenty Nineteen's styles to be a little less specific. Instead of supplying the `border-style`, `border-width`, and `border-color` in shorthand, this patch specifies only the `border-width`, and `border-color`. This lets pullquote blocks inherit the `border-style` (and location) from Gutenberg.15 This PR adjusts Twenty Nineteen's styles to be a little less specific. Instead of supplying the `border-style`, `border-width`, and `border-color` in shorthand, this patch specifies only the `border-width`, and `border-color`. This lets quote blocks inherit the `border-style` (and location) from Gutenberg. 16 16 17 17 It should have no effect on pullquotes or plain blockquotes as they are today, but will prevent a double border when the aforementioned Gutenberg PR is merged in.