Fix double scroll bar in pre-publish panel (#45671)

* Fix double scroll bar

# Conflicts:
#	packages/js/product-editor/src/components/prepublish-panel/style.scss

* Add changelog

* Add comment to styles
This commit is contained in:
Fernando Marichal 2024-03-19 14:06:30 -04:00 committed by GitHub
parent a461a86ee0
commit 99853c19bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Fix double scroll bar in pre-publish panel #45671

View File

@ -52,7 +52,8 @@
}
&__content {
min-height: calc( 100% - #{ $header-height + 220px } );
// Ensure the pre-publish panel content accounts for the header and footer height.
min-height: calc( 100% - #{ $header-height + 222px } );
.editor-post-publish-panel__link {
font-weight: 400;
padding-left: $gap-smallest;