summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/boards.scss
diff options
context:
space:
mode:
authorPier Paolo Ramon <ramonpierre@gmail.com>2016-12-02 13:33:39 +0000
committerPier Paolo Ramon <ramonpierre@gmail.com>2016-12-02 13:33:39 +0000
commite19d4ce269b77f48a00547971ad3796affea9005 (patch)
tree82f59773d32e50b39e04b58b29b0524daee01001 /app/assets/stylesheets/pages/boards.scss
parent86016960811e90ceecdd0353753107943cdea1d8 (diff)
downloadgitlab-ce-e19d4ce269b77f48a00547971ad3796affea9005.tar.gz
Extend the list header top border to the edge of the box
With border board lists (those created from labels) the top border created bad visual artifacts with the .board-inner gray border. With this change the colored border overflows the padding-box of .board-inner and extends to the edges. It works very well with most colors, excepts for very light ones (such as `#ff0` yellow for instance).
Diffstat (limited to 'app/assets/stylesheets/pages/boards.scss')
-rw-r--r--app/assets/stylesheets/pages/boards.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss
index c55cecd57c8..bff84b36eec 100644
--- a/app/assets/stylesheets/pages/boards.scss
+++ b/app/assets/stylesheets/pages/boards.scss
@@ -109,6 +109,12 @@
&.has-border {
border-top: 3px solid;
+ margin-top: -1px;
+ margin-right: -1px;
+ margin-left: -1px;
+ padding-top: 1px;
+ padding-right: 1px;
+ padding-left: 1px;
.board-title {
padding-top: ($gl-padding - 3px);