Plugin details:

Prevent plugins with long names from looking bad and breaking layouts.

props stephdau. fixes #28883.


git-svn-id: https://develop.svn.wordpress.org/trunk@29605 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2014-08-25 20:19:56 +00:00
parent 330ed83605
commit 0566702a64
1 changed files with 6 additions and 5 deletions

View File

@ -2165,7 +2165,10 @@ div.action-links {
font-weight: bold; font-weight: bold;
padding: 0; padding: 0;
margin: 0; margin: 0;
max-width: 760px; max-width: 680px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
#plugin-information-title.with-banner h2 { #plugin-information-title.with-banner h2 {
@ -2173,7 +2176,6 @@ div.action-links {
display: inline-block; display: inline-block;
font-size: 30px; font-size: 30px;
line-height: 50px; line-height: 50px;
max-width: 760px;
padding: 0 15px; padding: 0 15px;
margin: 174px 0 0 10px; margin: 174px 0 0 10px;
color: #fff; color: #fff;
@ -2427,7 +2429,7 @@ div.action-links {
font-size: 13px; font-size: 13px;
} }
@media screen and ( max-height: 500px ) { @media screen and ( max-width: 771px ) {
#plugin-information-title.with-banner { #plugin-information-title.with-banner {
height: 100px; height: 100px;
bottom: 100px; bottom: 100px;
@ -2437,6 +2439,7 @@ div.action-links {
margin-top: 30px; margin-top: 30px;
font-size: 20px; font-size: 20px;
line-height: 40px; line-height: 40px;
max-width: 85%;
} }
#plugin-information-title.with-banner div.vignette { #plugin-information-title.with-banner div.vignette {
@ -2444,9 +2447,7 @@ div.action-links {
bottom: 100px; bottom: 100px;
width: 800%; width: 800%;
} }
}
@media screen and ( max-width: 771px ) {
#plugin-information-tabs { #plugin-information-tabs {
overflow: hidden; /* clearfix */ overflow: hidden; /* clearfix */
padding: 0; padding: 0;