summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 16:06:09 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 16:06:09 -0500
commit823a945c9398bdfad2cbd6b9c816d5f494041b72 (patch)
tree8dc9df05bea3a96806665b2382930fff125461f6 /assets
parente59be3dc021e81babaacf70661737cbba42c80cc (diff)
Make the dashboard more responsive
Diffstat (limited to 'assets')
-rw-r--r--assets/css/app.css28
-rw-r--r--assets/css/dashboard.css28
2 files changed, 32 insertions, 24 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index 44bc9c2b..a4bb8919 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -1206,19 +1206,23 @@ tr td.task-orange,
margin-top: 10px;
color: #555;
}/* dashboard */
-#dashboard table {
- font-size: 0.9em;
-}
-.dashboard-left-column {
- width: 55%;
- float: left;
-}
+@media only screen and (min-width: 1366px) {
-.dashboard-right-column {
- margin-left: 5%;
- width: 40%;
- float: left;
+ #dashboard table {
+ font-size: 0.9em;
+ }
+
+ .dashboard-left-column {
+ width: 55%;
+ float: left;
+ }
+
+ .dashboard-right-column {
+ margin-left: 5%;
+ width: 40%;
+ float: left;
+ }
}
.dashboard-project-stats span {
@@ -1228,7 +1232,7 @@ tr td.task-orange,
}
.dashboard-project-stats strong {
- font-size: 1.1em;
+ font-size: 1.2em;
}
.dashboard-table-link {
diff --git a/assets/css/dashboard.css b/assets/css/dashboard.css
index dc077180..4c47e9e0 100644
--- a/assets/css/dashboard.css
+++ b/assets/css/dashboard.css
@@ -1,17 +1,21 @@
/* dashboard */
-#dashboard table {
- font-size: 0.9em;
-}
-.dashboard-left-column {
- width: 55%;
- float: left;
-}
+@media only screen and (min-width: 1366px) {
+
+ #dashboard table {
+ font-size: 0.9em;
+ }
+
+ .dashboard-left-column {
+ width: 55%;
+ float: left;
+ }
-.dashboard-right-column {
- margin-left: 5%;
- width: 40%;
- float: left;
+ .dashboard-right-column {
+ margin-left: 5%;
+ width: 40%;
+ float: left;
+ }
}
.dashboard-project-stats span {
@@ -21,7 +25,7 @@
}
.dashboard-project-stats strong {
- font-size: 1.1em;
+ font-size: 1.2em;
}
.dashboard-table-link {