Skip to content

Commit

Permalink
VideoPress Block: Fix block line-height. (#41102)
Browse files Browse the repository at this point in the history
* Set VideoPress block line-height to zero

* changelog

* Add missing css to the block view
  • Loading branch information
phcp authored Jan 16, 2025
1 parent 2e28fa0 commit f05147e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Fix VideoPress block line-height.
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,6 @@
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style.css",
"viewScript": "file:./view.js"
"viewScript": "file:./view.js",
"viewStyle": "file:./view.css"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
.jetpack-videopress-player__wrapper {
position: relative;
display: flex;
line-height: 0;
}

.jetpack-videopress-player__overlay {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import './style.scss';
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import domReady from '@wordpress/dom-ready';
/**
* Internal dependencies
*/
import './style.scss';
import './view.scss';

/**
* Preview on Hover effect for VideoPress videos.
Expand Down

0 comments on commit f05147e

Please sign in to comment.