Reduced attachemnts height to be consistent in paddings

stable
Xavier Julián 2014-08-01 14:43:37 +02:00
parent 0db30f2894
commit a957e85635
2 changed files with 8 additions and 5 deletions

View File

@ -34,7 +34,7 @@ block content
ul.us-activity-tabs ul.us-activity-tabs
li li
a.active(href="#") a.active(href="#")
span.icon.icon-bulk span.icon.icon-comment
span.tab-title Comments span.tab-title Comments
li li

View File

@ -24,7 +24,7 @@
@extend %small; @extend %small;
align-items: center; align-items: center;
border-bottom: 1px solid #cdcdcd; border-bottom: 1px solid #cdcdcd;
padding: 1rem 0 1rem 1rem; padding: .5rem 0 .5rem 1rem;
position: relative; position: relative;
&:last-child { &:last-child {
border: 0; border: 0;
@ -50,7 +50,7 @@
} }
&.sortable-placeholder { &.sortable-placeholder {
background: $whitish; background: $whitish;
height: 55px; height: 40px;
} }
.attachment-name { .attachment-name {
@include ellipsis(200px); @include ellipsis(200px);
@ -68,6 +68,9 @@
} }
.attachment-comments { .attachment-comments {
@include table-flex-child(10, 300px); @include table-flex-child(10, 300px);
span {
color: $gray;
}
} }
.attachment-settings { .attachment-settings {
@include table-flex-child(1, 100px); @include table-flex-child(1, 100px);
@ -83,11 +86,11 @@
} }
.settings { .settings {
opacity: 0; opacity: 0;
top: 1rem; top: .5rem;
} }
.editable-settings { .editable-settings {
opacity: 1; opacity: 1;
top: 1.5rem; top: 1rem;
} }
.icon-edit, .icon-edit,
.icon-floppy { .icon-floppy {