fade out long commit messages

This commit is contained in:
Lisa P 2016-01-27 16:32:50 +01:00
parent 6639a29411
commit 41884ff9d2
4 changed files with 12 additions and 1 deletions

View File

@ -78,6 +78,13 @@
.commit-description .commit-description
margin: 1rem 0 margin: 1rem 0
@media #{$medium-up}
max-height: 4.5em
position: relative
overflow: hidden
&:after
conent: ""
+fadeOut(bottom, 360deg, white, 5%)
.list-icon .list-icon
padding: 0 padding: 0

View File

@ -12,6 +12,7 @@
line-height: 1.5 line-height: 1.5
.row-li .row-li
position: relative
border: 1px solid $cream-dark border: 1px solid $cream-dark
font-size: 16px font-size: 16px
margin-bottom: .3rem margin-bottom: .3rem

View File

@ -10,12 +10,15 @@
{{/if}} {{/if}}
</h2> </h2>
<div class="commit-info"> <div class="commit-info">
{{#if commit.body }}
<p class="commit-description"> <p class="commit-description">
{{#if item.pullRequest}} {{#if item.pullRequest}}
{{format-message commit.subject repo=item.repo}}<br> {{format-message commit.subject repo=item.repo}}<br>
{{/if}} {{/if}}
<span class="monospace">{{format-message commit.body repo=item.repo pre=true}}</span> <span class="monospace">{{format-message commit.body repo=item.repo pre=true}}</span>
</p> </p>
{{/if}}
<ul class="list-icon"> <ul class="list-icon">
<li> <li>
<a class="commit-commit" title="See the commit on GitHub" href={{urlGithubCommit}}> <a class="commit-commit" title="See the commit on GitHub" href={{urlGithubCommit}}>

View File

@ -12,7 +12,7 @@
</div> </div>
<div class="repo-badge"> <div class="repo-badge">
<a href="#" id="status-image-popup" title="build status image" name="status-images" class="open-popup" {{action "statusImages"}}> <a href="#" id="status-image-popup" title="build status image" name="status-images" class="open-popup" {{action "statusImages"}}>
<img src={{statusImageUrl}} alt="Build Status Images"/> <img src={{statusImageUrl}} alt="build:{{build.state}}"/>
</a> </a>
</div> </div>
</header> </header>