Administration: Wrap the list table items count to a new line on small screens.

This avoids overlapping with action buttons and brings some consistency to bottom paddings across various screens.

Props passoniate, afercia, anuj2, rolfsiebers, uxkai, ireneyoast, thijsvanloef, hellofromTonya, audrasjb, helen, SergeyBiryukov.
Fixes #49246.

git-svn-id: https://develop.svn.wordpress.org/trunk@49178 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-17 01:11:58 +00:00
parent 0f6305e246
commit 14e3433b85
4 changed files with 19 additions and 3 deletions

View File

@ -1796,6 +1796,10 @@ table.links-table {
padding: 10px 0; padding: 10px 0;
} }
.edit-term-notes {
display: none;
}
.privacy-text-box { .privacy-text-box {
width: auto; width: auto;
} }

View File

@ -1696,7 +1696,7 @@ div.action-links,
} }
.tablenav.bottom .tablenav-pages.one-page { .tablenav.bottom .tablenav-pages.one-page {
margin: 15px 0 0 0; margin-top: 15px;
height: 0; height: 0;
} }
@ -2152,6 +2152,18 @@ div.action-links,
grid-template-columns: auto auto; grid-template-columns: auto auto;
} }
.tablenav.bottom .displaying-num {
position: relative;
top: 0;
display: block;
text-align: right;
padding-bottom: 0.5em;
}
.tablenav.bottom .tablenav-pages.one-page {
height: auto;
}
.tablenav-pages .tablenav-paging-text { .tablenav-pages .tablenav-paging-text {
float: left; float: left;
width: 100%; width: 100%;

View File

@ -477,7 +477,7 @@ if ( $wp_list_table->has_items() ) {
?> ?>
<div id="ajax-response"></div> <div id="ajax-response"></div>
<br class="clear" /> <div class="clear" /></div>
</div> </div>
<?php <?php

View File

@ -590,7 +590,7 @@ if ( strlen( $usersearch ) ) {
<?php $wp_list_table->display(); ?> <?php $wp_list_table->display(); ?>
</form> </form>
<br class="clear" /> <div class="clear" /></div>
</div> </div>
<?php <?php
break; break;