Customizer: Adjust styles on panel titles to prevent descenders – such as with the letters g, j, p, q, or y – from getting cut off in some browsers.

Props umeshnevase.
Fixes #33575.

Built from https://develop.svn.wordpress.org/trunk@35511


git-svn-id: http://core.svn.wordpress.org/trunk@35475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-11-04 18:53:26 +00:00
parent 3575214485
commit 1ddb8b94af
5 changed files with 13 additions and 13 deletions

View File

@ -94,7 +94,7 @@ button.not-a-button {
#customize-controls .customize-info .panel-title { #customize-controls .customize-info .panel-title {
font-size: 20px; font-size: 20px;
font-weight: 200; font-weight: 200;
line-height: 24px; line-height: 26px;
display: block; display: block;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -223,7 +223,7 @@ button.not-a-button {
right: 100%; right: 100%;
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 12px; padding: 12px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
@ -334,7 +334,7 @@ h3.customize-section-title {
display: block; display: block;
float: right; float: right;
width: 48px; width: 48px;
height: 69px; height: 71px;
padding: 0 0 0 24px; padding: 0 0 0 24px;
margin: 0; margin: 0;
background: #fff; background: #fff;
@ -348,7 +348,7 @@ h3.customize-section-title {
} }
.customize-section-back { .customize-section-back {
height: 70px; height: 74px;
} }
.ios .customize-panel-back, .ios .customize-panel-back,
@ -407,7 +407,7 @@ h3.customize-section-title {
.customize-panel-back:before, .customize-panel-back:before,
.customize-section-back:before { .customize-section-back:before {
font: normal 20px/69px dashicons; font: normal 20px/72px dashicons;
content: "\f345"; content: "\f345";
position: relative; position: relative;
right: 13px; right: 13px;

File diff suppressed because one or more lines are too long

View File

@ -94,7 +94,7 @@ button.not-a-button {
#customize-controls .customize-info .panel-title { #customize-controls .customize-info .panel-title {
font-size: 20px; font-size: 20px;
font-weight: 200; font-weight: 200;
line-height: 24px; line-height: 26px;
display: block; display: block;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -223,7 +223,7 @@ button.not-a-button {
left: 100%; left: 100%;
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 12px; padding: 12px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
@ -334,7 +334,7 @@ h3.customize-section-title {
display: block; display: block;
float: left; float: left;
width: 48px; width: 48px;
height: 69px; height: 71px;
padding: 0 24px 0 0; padding: 0 24px 0 0;
margin: 0; margin: 0;
background: #fff; background: #fff;
@ -348,7 +348,7 @@ h3.customize-section-title {
} }
.customize-section-back { .customize-section-back {
height: 70px; height: 74px;
} }
.ios .customize-panel-back, .ios .customize-panel-back,
@ -407,7 +407,7 @@ h3.customize-section-title {
.customize-panel-back:before, .customize-panel-back:before,
.customize-section-back:before { .customize-section-back:before {
font: normal 20px/69px dashicons; font: normal 20px/72px dashicons;
content: "\f341"; content: "\f341";
position: relative; position: relative;
left: 13px; left: 13px;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-beta2-35510'; $wp_version = '4.4-beta2-35511';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.