Fix tag in project page

stable
Xavier Julián 2015-05-27 12:57:19 +02:00 committed by Juanfran
parent 5c767e7464
commit 134111713c
3 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,7 @@ div.wrapper
include ../../../svg/lock.svg include ../../../svg/lock.svg
p.description {{vm.project.get('description')}} p.description {{vm.project.get('description')}}
div.project-list-single-tags.tags-container(ng-if="::vm.project.get('tags').size") div.single-project-tags.tags-container(ng-if="::vm.project.get('tags').size")
span.tag(style='border-left: 5px solid {{::tag.get("color")}};', tg-repeat="tag in ::vm.project.get('colorized_tags')") span.tag(style='border-left: 5px solid {{::tag.get("color")}};', tg-repeat="tag in ::vm.project.get('colorized_tags')")
span.tag-name {{::tag.get('name')}} span.tag-name {{::tag.get('name')}}

View File

@ -1,9 +1,12 @@
.tag { .tag {
@extend %light;
@extend %small;
background: $whitish; // Fallback background: $whitish; // Fallback
border-radius: 0 5px 5px 0;
color: $grayer; color: $grayer;
display: inline-block; display: inline-block;
margin-right: .5rem; margin-right: .5rem;
padding: .2rem .5rem; padding: .5rem .75rem;
text-align: center; text-align: center;
.icon-delete { .icon-delete {
color: $gray-light; color: $gray-light;

View File

@ -22,6 +22,9 @@
margin-bottom: .5rem; margin-bottom: .5rem;
padding: .5rem 1rem; padding: .5rem 1rem;
} }
.single-project-tags {
margin-bottom: 1rem;
}
.timeline { .timeline {
flex: 1; flex: 1;
margin-right: 1rem; margin-right: 1rem;