Merge pull request #2423 from coreos-inc/css-fix
Fix CSS around display of page controls in repo view
This commit is contained in:
commit
2bc4dfd762
3 changed files with 4 additions and 3 deletions
|
@ -1423,9 +1423,8 @@ a:focus {
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
@media screen and (max-width: 640px) {
|
||||
.co-top-bar .page-controls {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
|
|
@ -7,11 +7,13 @@
|
|||
}
|
||||
|
||||
.page-controls-element .current-items {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 10px;
|
||||
padding: 4px;
|
||||
border: 1px solid transparent;
|
||||
vertical-align: middle;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.page-controls-element .current-items:hover {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="co-top-bar">
|
||||
<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;">
|
||||
</span>
|
||||
</div>
|
||||
|
|
Reference in a new issue