Theme install:
* Move the "based on" string below the rating to avoid wrapping to a second line. * Reduce the gap between the theme screenshot and description. * Fix Install button height on mobile. props obenland, ocean90. fixes #28148. see #29556. Built from https://develop.svn.wordpress.org/trunk@29959 git-svn-id: http://core.svn.wordpress.org/trunk@29706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
beca5ad5a3
commit
d37ce0b0e5
|
@ -1166,7 +1166,7 @@ body.show-upload-theme p.no-themes {
|
|||
}
|
||||
|
||||
.rating {
|
||||
margin: 30px 0;
|
||||
margin: 15px 0 0;
|
||||
}
|
||||
.rating span:before {
|
||||
color: #e6b800;
|
||||
|
@ -1221,8 +1221,7 @@ body.show-upload-theme p.no-themes {
|
|||
content: "\f155";
|
||||
}
|
||||
.rating .ratings {
|
||||
display: inline;
|
||||
margin-right: 10px;
|
||||
display: block;
|
||||
line-height: 20px;
|
||||
color: #999;
|
||||
}
|
||||
|
@ -1739,4 +1738,9 @@ body.full-overlay-active {
|
|||
.broken-themes table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-header .theme-install {
|
||||
margin-top: 6px;
|
||||
line-height: normal;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1166,7 +1166,7 @@ body.show-upload-theme p.no-themes {
|
|||
}
|
||||
|
||||
.rating {
|
||||
margin: 30px 0;
|
||||
margin: 15px 0 0;
|
||||
}
|
||||
.rating span:before {
|
||||
color: #e6b800;
|
||||
|
@ -1221,8 +1221,7 @@ body.show-upload-theme p.no-themes {
|
|||
content: "\f155";
|
||||
}
|
||||
.rating .ratings {
|
||||
display: inline;
|
||||
margin-left: 10px;
|
||||
display: block;
|
||||
line-height: 20px;
|
||||
color: #999;
|
||||
}
|
||||
|
@ -1739,4 +1738,9 @@ body.full-overlay-active {
|
|||
.broken-themes table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-header .theme-install {
|
||||
margin-top: 6px;
|
||||
line-height: normal;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -243,9 +243,9 @@ if ( $tab ) {
|
|||
<span class="four"></span>
|
||||
<span class="five"></span>
|
||||
<# if ( data.num_ratings ) { #>
|
||||
<p class="ratings">{{ data.num_ratings }}</p>
|
||||
<small class="ratings">{{ data.num_ratings }}</small>
|
||||
<# } else { #>
|
||||
<p class="ratings"><?php _e( 'No ratings.' ); ?></p>
|
||||
<small class="ratings"><?php _e( 'No ratings.' ); ?></small>
|
||||
<# } #>
|
||||
</div>
|
||||
<div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
|
||||
|
|
Loading…
Reference in New Issue