summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-08 10:59:05 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-08 10:59:05 -0500
commit696cd9535cc622e477dde10eac24b947c351dc87 (patch)
tree301cff5e077f367fd7da7982acc2e4868120ce48
parent00b9508d8178bae016b2a25a81282dbe9ae0a9d2 (diff)
Improve sidebar css (fix #593)
-rw-r--r--assets/css/app.css4
-rw-r--r--assets/css/src/sidebar.css4
2 files changed, 8 insertions, 0 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index b43531c4..9bf6179f 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -1911,11 +1911,14 @@ a.task-board-nobody {
/* sidebar */
.sidebar-container {
margin-top: 10px;
+ position: relative;
clear: both;
}
.sidebar-content {
margin-left: 23%;
+ width: 76%;
+ position: absolute;
}
.sidebar {
@@ -1943,6 +1946,7 @@ a.task-board-nobody {
.sidebar-content {
margin: 0;
margin-top: 20px;
+ width: 100%;
}
}
/* responsive design */
diff --git a/assets/css/src/sidebar.css b/assets/css/src/sidebar.css
index 5ed41d11..029c054b 100644
--- a/assets/css/src/sidebar.css
+++ b/assets/css/src/sidebar.css
@@ -1,11 +1,14 @@
/* sidebar */
.sidebar-container {
margin-top: 10px;
+ position: relative;
clear: both;
}
.sidebar-content {
margin-left: 23%;
+ width: 76%;
+ position: absolute;
}
.sidebar {
@@ -33,5 +36,6 @@
.sidebar-content {
margin: 0;
margin-top: 20px;
+ width: 100%;
}
}