Core profiler -- fix the gap at the top on iPad and iPad Mini (#39108)

* Fix unexpected gap on iPad and iPad Mini

* Fix css lint
This commit is contained in:
Moon 2023-07-07 10:51:48 -07:00 committed by GitHub
parent 7c5b98ea02
commit 68ff03063a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -603,3 +603,11 @@
}
}
}
// Override WP Core style where it applies padding-top: 46px
// This style fixes devices with width between 601px and 782px (iPad and iPad Mini)
@media screen and (min-width: 601px) and (max-width: 782px) {
html.wp-toolbar {
padding-top: 32px !important;
}
}

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Fix unexpected gap on ipad and ipad mini