From a957e8563526d3e609401f2f49b0db0def278e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Fri, 1 Aug 2014 14:43:37 +0200 Subject: [PATCH] Reduced attachemnts height to be consistent in paddings --- app/partials/issues-detail.jade | 2 +- app/styles/modules/common/attachments.scss | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/partials/issues-detail.jade b/app/partials/issues-detail.jade index 8f972ffb..bc85f7d4 100644 --- a/app/partials/issues-detail.jade +++ b/app/partials/issues-detail.jade @@ -34,7 +34,7 @@ block content ul.us-activity-tabs li a.active(href="#") - span.icon.icon-bulk + span.icon.icon-comment span.tab-title Comments li diff --git a/app/styles/modules/common/attachments.scss b/app/styles/modules/common/attachments.scss index ed709540..8da5c117 100644 --- a/app/styles/modules/common/attachments.scss +++ b/app/styles/modules/common/attachments.scss @@ -24,7 +24,7 @@ @extend %small; align-items: center; border-bottom: 1px solid #cdcdcd; - padding: 1rem 0 1rem 1rem; + padding: .5rem 0 .5rem 1rem; position: relative; &:last-child { border: 0; @@ -50,7 +50,7 @@ } &.sortable-placeholder { background: $whitish; - height: 55px; + height: 40px; } .attachment-name { @include ellipsis(200px); @@ -68,6 +68,9 @@ } .attachment-comments { @include table-flex-child(10, 300px); + span { + color: $gray; + } } .attachment-settings { @include table-flex-child(1, 100px); @@ -83,11 +86,11 @@ } .settings { opacity: 0; - top: 1rem; + top: .5rem; } .editable-settings { opacity: 1; - top: 1.5rem; + top: 1rem; } .icon-edit, .icon-floppy {