VideoPress block does not have an explicit line-height attribute #40899
Labels
Customer Report
Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report"
[Feature] VideoPress
A feature to help you upload and insert videos on your site.
[Platform] Atomic
[Platform] Simple
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Plugin] VideoPress
A standalone plugin to add high-quality VideoPress videos to your site.
[Pri] Low
[Status] Auto-allocated
Triaged
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
VideoPress, Jetpack
Quick summary
The VideoPress block does not have an explicit line-height attribute and instead uses the attribute from the body tag, resulting in undesired space appearing below the block.
Steps to reproduce
A clear and concise description of what you expected to happen.
VideoPress block should have no spacing below it, when the bottom padding is set to zero.
What actually happened
VideoPress block displays some bottom spacing.
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
If the above answer is "Yes...", outline the workaround.
If the user does not have anything other than the VideoPress block inside that column, you can ask them to manually set the line-height of the column to zero.
If they have text in the same column that might be impacted, the only workaround I know so far is to add the following CSS:
.jetpack-videopress-player__wrapper { line-height: 0; }
Platform (Simple and/or Atomic)
Simple, Atomic, Self-hosted
Logs or notes
Ticket that brought this issue to our attention:
9247293-zd-a8c
The text was updated successfully, but these errors were encountered: