Make the dashboard more responsive
This commit is contained in:
@@ -148,7 +148,7 @@ class App extends Base
|
|||||||
*/
|
*/
|
||||||
private function getProjectPagination(array $project_ids, $paginate, $offset, $order, $direction)
|
private function getProjectPagination(array $project_ids, $paginate, $offset, $order, $direction)
|
||||||
{
|
{
|
||||||
$limit = 5;
|
$limit = 10;
|
||||||
|
|
||||||
if (! in_array($order, array('id', 'name'))) {
|
if (! in_array($order, array('id', 'name'))) {
|
||||||
$order = 'name';
|
$order = 'name';
|
||||||
|
|||||||
@@ -1206,19 +1206,23 @@ tr td.task-orange,
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
color: #555;
|
color: #555;
|
||||||
}/* dashboard */
|
}/* dashboard */
|
||||||
#dashboard table {
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-left-column {
|
@media only screen and (min-width: 1366px) {
|
||||||
width: 55%;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-right-column {
|
#dashboard table {
|
||||||
margin-left: 5%;
|
font-size: 0.9em;
|
||||||
width: 40%;
|
}
|
||||||
float: left;
|
|
||||||
|
.dashboard-left-column {
|
||||||
|
width: 55%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboard-right-column {
|
||||||
|
margin-left: 5%;
|
||||||
|
width: 40%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-project-stats span {
|
.dashboard-project-stats span {
|
||||||
@@ -1228,7 +1232,7 @@ tr td.task-orange,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-project-stats strong {
|
.dashboard-project-stats strong {
|
||||||
font-size: 1.1em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-table-link {
|
.dashboard-table-link {
|
||||||
|
|||||||
@@ -1,17 +1,21 @@
|
|||||||
/* dashboard */
|
/* dashboard */
|
||||||
#dashboard table {
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-left-column {
|
@media only screen and (min-width: 1366px) {
|
||||||
width: 55%;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-right-column {
|
#dashboard table {
|
||||||
margin-left: 5%;
|
font-size: 0.9em;
|
||||||
width: 40%;
|
}
|
||||||
float: left;
|
|
||||||
|
.dashboard-left-column {
|
||||||
|
width: 55%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboard-right-column {
|
||||||
|
margin-left: 5%;
|
||||||
|
width: 40%;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-project-stats span {
|
.dashboard-project-stats span {
|
||||||
@@ -21,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-project-stats strong {
|
.dashboard-project-stats strong {
|
||||||
font-size: 1.1em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-table-link {
|
.dashboard-table-link {
|
||||||
|
|||||||
Reference in New Issue
Block a user