CSS: Fix controls floating

refs 
This commit is contained in:
Florian Strohmaier 2016-02-16 14:35:00 +01:00 committed by Eric Lippmann
parent 6267001053
commit 13f8da254c
2 changed files with 17 additions and 3 deletions
public/css/icinga

View File

@ -1,5 +1,14 @@
/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
.filter {
clear: both;
}
.limiter-control,
.sort-control {
display: inline-block;
}
.limiter-control > .control-group {
padding: 0;
@ -19,6 +28,9 @@
}
.pagination-control {
clear: both;
float: left;
li {
&.active {
> a,
@ -78,6 +90,11 @@
}
}
.sort-controls-container {
clear: right;
float: right;
}
html.no-js .sort-control form {
display: table;
margin-left: auto;

View File

@ -177,10 +177,8 @@ a:hover > .icon-cancel {
width: @name-value-table-name-width;
}
// TODO(el): Fix
.controls {
.limiter-control {
float: right;
padding: @vertical-padding / 2 0;
margin-bottom: 0.25em;
}
@ -191,7 +189,6 @@ a:hover > .icon-cancel {
}
.sort-control {
float: right;
padding: @vertical-padding / 2 0;
margin-bottom: 0.25em;
margin-left: 0.5em;