summaryrefslogtreecommitdiff
path: root/assets/sass
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-21 14:28:17 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-21 14:28:17 -0400
commit836e93546355e20f5a3cca0e2fd4e649264ce7ac (patch)
treebc38934f824d0377e72c4f28e9fb74f393a6d438 /assets/sass
parente110229bb94b6d423aad45a008e8530587b47602 (diff)
Adjust margins for project header
Diffstat (limited to 'assets/sass')
-rw-r--r--assets/sass/_project.sass4
-rw-r--r--assets/sass/_project_header.sass4
-rw-r--r--assets/sass/_project_views_switcher.sass2
3 files changed, 6 insertions, 4 deletions
diff --git a/assets/sass/_project.sass b/assets/sass/_project.sass
index 0f91d92a..a1eb78bd 100644
--- a/assets/sass/_project.sass
+++ b/assets/sass/_project.sass
@@ -1,9 +1,5 @@
@import variables
-.project-header
- margin-top: 8px
- margin-bottom: 20px
-
.action-menu
color: color('primary')
text-decoration: none
diff --git a/assets/sass/_project_header.sass b/assets/sass/_project_header.sass
index 4e6c496f..0a4e08b8 100644
--- a/assets/sass/_project_header.sass
+++ b/assets/sass/_project_header.sass
@@ -3,8 +3,10 @@
.project-header
@include grid(100)
+ margin-bottom: 8px
.dropdown-component
+ margin-top: 4px
@include grid_width(5/100)
@include md-device
@include grid_width(8/100)
@@ -12,12 +14,14 @@
@include grid_width(1)
.views-switcher-component
+ margin-top: 4px
@include grid_width(38/100)
@include custom-device(1300px)
@include grid_width(45/100)
@include md-device
@include grid_width(92/100)
@include sm-device
+ margin-top: 0
@include grid_width(1)
.filter-box-component
diff --git a/assets/sass/_project_views_switcher.sass b/assets/sass/_project_views_switcher.sass
index 4ead9e2b..591277ef 100644
--- a/assets/sass/_project_views_switcher.sass
+++ b/assets/sass/_project_views_switcher.sass
@@ -12,6 +12,8 @@ $breakdown-switcher: 560px
@include sm-device
margin-top: 10px
font-size: size('normal')
+ @include xs-device
+ margin-top: 5px
li
white-space: nowrap
background: #fafafa