Skip to content

Commit

Permalink
spacer is bad
Browse files Browse the repository at this point in the history
  • Loading branch information
balmas committed Dec 15, 2014
1 parent 56efe17 commit ce642ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/css/arethusa.scss
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,10 @@ code {
cursor: pointer;
}

.notfirst {
padding-left: .25em;
}


/***************************************************************************
* Animations *
Expand Down
6 changes: 2 additions & 4 deletions app/templates/arethusa.relation/label_viewer.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<span ng-repeat="ancestor in obj.ancestors">
<spacer ng-if="!$first"/>
<span ng-repeat="ancestor in obj.ancestors" ng-class="{ notfirst: !$first }">
{{ ancestor.long }}
</span>
<span>(
<span ng-repeat="ancestor in obj.ancestors">
<span ng-repeat="ancestor in obj.ancestors" ng-class="{ notfirst: !$first }">
{{ ancestor.short }}
<spacer ng-if="!$first"/>
</span>
)</span>

0 comments on commit ce642ae

Please sign in to comment.