From 1a1ceec040c2907bd2d6cdfaa6dfae370ea51cda Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 28 Aug 2015 08:14:40 +0200 Subject: [PATCH 1/2] aligned the columns by setting a different column-width --- app/assets/stylesheets/backlogs/taskboard.css.sass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/backlogs/taskboard.css.sass b/app/assets/stylesheets/backlogs/taskboard.css.sass index 54e91213b7..277ac6aee6 100644 --- a/app/assets/stylesheets/backlogs/taskboard.css.sass +++ b/app/assets/stylesheets/backlogs/taskboard.css.sass @@ -88,8 +88,10 @@ padding-bottom: 0 line-height: 30px &:first-child - min-width: 241px - width: 241px + /* Hack: The pixel values were rounded and the lines are not in every zoom correctly aligned. */ + /* This values are getting at the moment the best result possible. */ + min-width: 15.04rem + width: 15.07rem &:last-child border-right: none .board From 2887018c169680aab3d4ba3d985d69032ed43ba7 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Tue, 8 Sep 2015 14:12:49 +0200 Subject: [PATCH 2/2] Insert border on the right side again (for the calulation of the width) --- app/assets/stylesheets/backlogs/taskboard.css.sass | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/backlogs/taskboard.css.sass b/app/assets/stylesheets/backlogs/taskboard.css.sass index 277ac6aee6..488093150f 100644 --- a/app/assets/stylesheets/backlogs/taskboard.css.sass +++ b/app/assets/stylesheets/backlogs/taskboard.css.sass @@ -88,12 +88,9 @@ padding-bottom: 0 line-height: 30px &:first-child - /* Hack: The pixel values were rounded and the lines are not in every zoom correctly aligned. */ - /* This values are getting at the moment the best result possible. */ - min-width: 15.04rem - width: 15.07rem - &:last-child - border-right: none + min-width: 241px + width: 241px + .board background-color: #FCFCFC border: 1px solid #CCCCCC @@ -113,8 +110,6 @@ min-width: 210px padding: 5px width: 210px - &:last-child - border-right: none tr:last-child td border-bottom: none .add_new