Skip to content

Commit

Permalink
Odyssey Stats: fix inline CSS that define the height of the #wpcom div
Browse files Browse the repository at this point in the history
This was making the Odyssey Stats having some UI issues, like the footer that was wrongly positioned
  • Loading branch information
wilmersondasilva committed Jan 12, 2023
1 parent bbeb33c commit 7ec832e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/packages/stats-admin/src/class-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function add_wp_admin_submenu() {
*/
public function render() {
?>
<div id="wpcom" class="jp-stats-dashboard">
<div id="wpcom" class="jp-stats-dashboard" style="min-height: calc(100vh - 100px);">
<div class="hide-if-js"><?php esc_html_e( 'Your Jetpack Stats dashboard requires JavaScript to function properly.', 'jetpack-stats-admin' ); ?></div>
<div class="hide-if-no-js" style="height: 100%">
<img
Expand Down

0 comments on commit 7ec832e

Please sign in to comment.