From 13cc5578f1ccbcccf3f94cc33578024c7469db83 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Fri, 23 Mar 2018 18:18:51 +0100 Subject: [PATCH] fix: original link icon wrongly aligned --- app-src/scripts/task-list/_task-list-d.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app-src/scripts/task-list/_task-list-d.scss b/app-src/scripts/task-list/_task-list-d.scss index 286502ea5a..f627872cad 100644 --- a/app-src/scripts/task-list/_task-list-d.scss +++ b/app-src/scripts/task-list/_task-list-d.scss @@ -119,6 +119,8 @@ task-list { width: $this-button-size; min-width: $this-button-size; min-height: $this-button-size; + // this fixes the original link button icon for some reason + line-height: $this-button-size + -1; padding: 0; box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); border: 1px solid #dddddd; @@ -126,6 +128,7 @@ task-list { text-align: center; background: #ffffff !important; overflow: hidden; + position: relative; &:hover { transform: scale(1.3); @@ -145,6 +148,10 @@ task-list { } ng-md-icon { fill: $this-icon-color; + margin: 0; + padding: 0; + line-height: 1; + } &.delete-btn { @@ -173,6 +180,7 @@ task-list { width: $this-button-size-mobile; min-width: $this-button-size-mobile; min-height: $this-button-size-mobile; + line-height: $this-button-size-mobile + -1; } }