Merge pull request #1841 from Automattic/fix/#1840

Photos: Fix responsive menu
This commit is contained in:
Daniel Dudzic 2020-03-05 21:55:03 +01:00 committed by GitHub
commit 2a373eeea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
var body, header, content, hero, adminBar, adminHeight = 0, headerHeight = 0, extraSpacing = 0, resizeTimer;
function contentPadding() {
if ( window.innerWidth >= 768 ) {
if ( window.innerWidth >= 658 ) {
content.css( 'padding-top', header.outerHeight() );
} else {
content.css( 'padding-top', '' );