Fix CSS around display of page controls in repo view

This commit is contained in:
Joseph Schorr 2017-03-10 14:33:44 -05:00
parent c724af12cd
commit 8737ac09a8
3 changed files with 4 additions and 3 deletions

View file

@ -1423,9 +1423,8 @@ a:focus {
vertical-align: top; vertical-align: top;
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 640px) {
.co-top-bar .page-controls { .co-top-bar .page-controls {
display: block;
margin-bottom: 10px; margin-bottom: 10px;
text-align: right; text-align: right;
} }

View file

@ -7,11 +7,13 @@
} }
.page-controls-element .current-items { .page-controls-element .current-items {
display: inline-block;
font-weight: bold; font-weight: bold;
margin-right: 10px; margin-right: 10px;
padding: 4px; padding: 4px;
border: 1px solid transparent; border: 1px solid transparent;
vertical-align: middle; vertical-align: middle;
margin-top: 2px;
} }
.page-controls-element .current-items:hover { .page-controls-element .current-items:hover {

View file

@ -3,7 +3,7 @@
<div class="co-top-bar"> <div class="co-top-bar">
<span class="co-filter-box"> <span class="co-filter-box">
<span class="page-controls" total-count="orderedRepositories.entries.length" current-page="options.page" page-size="reposPerPage"></span> <span class="page-controls" total-count="orderedRepositories.entries.length" current-page="options.page" page-size="reposPerPage" style="vertical-align: top"></span>
<input class="form-control" type="text" ng-model="options.filter" placeholder="Filter Repositories..." style="margin-right: 10px;"> <input class="form-control" type="text" ng-model="options.filter" placeholder="Filter Repositories..." style="margin-right: 10px;">
</span> </span>
</div> </div>