Skip to content

Commit aae345c

Browse files
committed
Media: Fix misalignment in media panel mobile menu.
Adjust the line-height of the dashicon for the media panel mobile menu. Props huzaifaalmesbah, joedolson. Fixes #64726. Built from https://develop.svn.wordpress.org/trunk@61744 git-svn-id: http://core.svn.wordpress.org/trunk@61050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 9bdb319 commit aae345c

5 files changed

Lines changed: 11 additions & 3 deletions

File tree

wp-includes/css/media-views-rtl.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,6 +2569,10 @@
25692569
min-height: 40px;
25702570
}
25712571

2572+
.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle .dashicons {
2573+
line-height: 1;
2574+
}
2575+
25722576
.wp-core-ui .button.media-frame-menu-toggle:hover,
25732577
.wp-core-ui .button.media-frame-menu-toggle:active {
25742578
background: transparent;

wp-includes/css/media-views-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/media-views.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2568,6 +2568,10 @@
25682568
min-height: 40px;
25692569
}
25702570

2571+
.wp-core-ui .media-frame:not(.hide-menu) .button.media-frame-menu-toggle .dashicons {
2572+
line-height: 1;
2573+
}
2574+
25712575
.wp-core-ui .button.media-frame-menu-toggle:hover,
25722576
.wp-core-ui .button.media-frame-menu-toggle:active {
25732577
background: transparent;

wp-includes/css/media-views.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta1-61743';
19+
$wp_version = '7.0-beta1-61744';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)