From 586b88243749560a4ade9a133b1ab048c688fc12 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 8 Jan 2014 21:23:18 +0000 Subject: [PATCH] Adjust widths of toolbar items at mobile sizes for better fitting on narrow screens. Fixes toolbar wrapping when using multisite. props iammattthomas. see #26537 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@26920 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/admin-bar.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 376c994d8d..acc7aeafb6 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -773,7 +773,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: normal 14px/32px "Open Sans", sans-serif; } - #wpadminbar .quicklinks li > a, + #wpadminbar .quicklinks > ul > li > a, #wpadminbar .quicklinks .ab-empty-item { padding: 0; height: 46px; @@ -785,7 +785,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: 40px/1 dashicons !important; margin: 0; padding: 0; - width: 50px; + width: 52px; height: 46px; text-align: center; } @@ -838,7 +838,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { padding: 0; - width: 55px; + width: 52px; height: 46px; text-align: center; vertical-align: top; @@ -862,7 +862,7 @@ html:lang(he-il) .rtl #wpadminbar * { text-indent: 100%; white-space: nowrap; overflow: hidden; - width: 55px; + width: 52px; padding: 0; color: #999; position: relative; @@ -884,7 +884,7 @@ html:lang(he-il) .rtl #wpadminbar * { font: normal 32px/1 'dashicons'; speak: none; top: 7px; - width: 55px; + width: 52px; text-align: center; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -909,7 +909,7 @@ html:lang(he-il) .rtl #wpadminbar * { line-height: 53px; height: 46px !important; text-align: center; - width: 50px; + width: 52px; display: block; }