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

Columns block: Background color does not stretch full-height with vertical alignment set #32907

Open
alaczek opened this issue Jun 23, 2021 · 1 comment · May be fixed by #32909
Open

Columns block: Background color does not stretch full-height with vertical alignment set #32907

alaczek opened this issue Jun 23, 2021 · 1 comment · May be fixed by #32909
Assignees
Labels
[Block] Columns Affects the Columns Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@alaczek
Copy link

alaczek commented Jun 23, 2021

Description

Background color does not stretch full column height with a vertical alignment set.

Step-by-step reproduction instructions

  1. Open the editor and insert the Columns block. Pick the two-column 50-50 layout.
  2. In the first column insert an image. In the second column insert a heading & paragraph.
  3. Set the background color AND vertical alignment of the second column.
  4. Note the background does not stretch full column height, but only behind the column content.
  5. Reset the column vertical alignment. Note the background now stretches the full height of the column.

Expected behaviour

I expected background color to cover full column height, regardless of vertical alignment of the content inside.

Screenshots or screen recording (optional)

Preview - no alignment on the right column
image

Preview - right column set to align middle
image

Editor - right column set to align middle
image

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: 10.8.2
  • Are all plugins except Gutenberg deactivated? Yes
  • Theme: Blank Canvas & TT1

Device information

  • Device: Desktop, macOS 11.4 / Chrome 91
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jun 23, 2021
@paaljoachim
Copy link
Contributor

@aaronrobertshaw is working on a PR here:
#32909

@skorasaurus skorasaurus added the [Block] Columns Affects the Columns Block label Jul 28, 2022
@jordesign jordesign added the [Type] Bug An existing feature does not function as intended label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants