Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299.
Built from https://develop.svn.wordpress.org/trunk@26595 git-svn-id: http://core.svn.wordpress.org/trunk@26485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9be4bd5720
commit
82540b9648
|
@ -693,7 +693,8 @@
|
|||
font: normal 14px/32px "Open Sans", sans-serif;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li > a {
|
||||
#wpadminbar .quicklinks li > a,
|
||||
#wpadminbar .quicklinks .ab-empty-item {
|
||||
padding: 0;
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
|
@ -706,6 +707,7 @@
|
|||
padding: 0;
|
||||
width: 50px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon:before {
|
||||
|
@ -716,6 +718,12 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-site-name a.ab-item,
|
||||
#wpadminbar #wp-admin-bar-my-sites a.ab-item,
|
||||
#wpadminbar #wp-admin-bar-my-account a.ab-item {
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-label {
|
||||
display: none;
|
||||
}
|
||||
|
@ -849,7 +857,7 @@
|
|||
#wpadminbar #wp-admin-bar-my-account > a {
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-indent: 100%;
|
||||
text-indent: 150%; /* More than 100% indention is needed since this element has padding */
|
||||
width: 28px;
|
||||
padding: 0 10px;
|
||||
overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -693,7 +693,8 @@
|
|||
font: normal 14px/32px "Open Sans", sans-serif;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li > a {
|
||||
#wpadminbar .quicklinks li > a,
|
||||
#wpadminbar .quicklinks .ab-empty-item {
|
||||
padding: 0;
|
||||
height: 46px;
|
||||
line-height: 46px;
|
||||
|
@ -706,6 +707,7 @@
|
|||
padding: 0;
|
||||
width: 50px;
|
||||
height: 46px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon:before {
|
||||
|
@ -716,6 +718,12 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-site-name a.ab-item,
|
||||
#wpadminbar #wp-admin-bar-my-sites a.ab-item,
|
||||
#wpadminbar #wp-admin-bar-my-account a.ab-item {
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-label {
|
||||
display: none;
|
||||
}
|
||||
|
@ -849,7 +857,7 @@
|
|||
#wpadminbar #wp-admin-bar-my-account > a {
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-indent: 100%;
|
||||
text-indent: 150%; /* More than 100% indention is needed since this element has padding */
|
||||
width: 28px;
|
||||
padding: 0 10px;
|
||||
overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue