fix long repo and branch name issue
This commit is contained in:
parent
8562ac894c
commit
76c9b368cf
|
@ -42,10 +42,6 @@
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
& > div:first-of-type
|
& > div:first-of-type
|
||||||
width: 26%
|
width: 26%
|
||||||
position: relative
|
|
||||||
&:after
|
|
||||||
content: ""
|
|
||||||
@include fadeOut(right, -90deg, $white)
|
|
||||||
& > div:nth-of-type(2)
|
& > div:nth-of-type(2)
|
||||||
width: 20%
|
width: 20%
|
||||||
& > div:nth-of-type(3)
|
& > div:nth-of-type(3)
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
// .two-line,
|
.fade-out
|
||||||
// .one-line
|
@media #{$medium-up}
|
||||||
// @media #{$medium-up}
|
white-space: nowrap
|
||||||
// white-space: nowrap
|
position:relative
|
||||||
// position:relative
|
overflow: hidden
|
||||||
// overflow: hidden
|
&:after
|
||||||
// &:after
|
content: ""
|
||||||
// content: ""
|
@include fadeOut(right, -90deg, $white)
|
||||||
// @include fadeOut(right, -90deg, $white)
|
|
||||||
|
|
||||||
@mixin colorDashboardTiles($color, $status, $color2: $color)
|
@mixin colorDashboardTiles($color, $status, $color2: $color)
|
||||||
&.#{$status}
|
&.#{$status}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="two-line">
|
<div class="two-line fade-out">
|
||||||
<div class="row-name">
|
<div class="row-name">
|
||||||
<h2 class="row-item">{{status-icon status=build.last_build.state}}
|
<h2 class="row-item">{{status-icon status=build.last_build.state}}
|
||||||
<span class="label-align">{{build.name}}</span></h2>
|
<span class="label-align">{{build.name}}</span></h2>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
<div class="two-line">
|
<div class="two-line fade-out">
|
||||||
<div class="row-name row-item">
|
<div class="row-name row-item">
|
||||||
<h3>{{#link-to "owner" repo.owner.login}}{{status-icon status=repo.last_build.state}} {{repo.owner.login}}{{/link-to}}</h3>
|
<h3>{{#link-to "owner" repo.owner.login}}{{status-icon status=repo.last_build.state}} {{repo.owner.login}}{{/link-to}}</h3>
|
||||||
<h2>{{#link-to "repo" repo.owner.login repo.name}}<span class="label-align">{{repo.name}}</span>{{/link-to}}</h2>
|
<h2>{{#link-to "repo" repo.owner.login repo.name}}<span class="label-align">{{repo.name}}</span>{{/link-to}}</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="one-line">
|
<div class="one-line fade-out">
|
||||||
<div class="row-request">
|
<div class="row-request">
|
||||||
<div class="row-item">
|
<div class="row-item">
|
||||||
{{#link-to "build" repo.owner.login repo.name repo.last_build.id}}
|
{{#link-to "build" repo.owner.login repo.name repo.last_build.id}}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{!-- {{#if repo.private }}
|
{{!-- {{#if repo.private }}
|
||||||
<div class="tile-lock"><span class="icon icon-lock"></span></div>
|
<div class="tile-lock"><span class="icon icon-lock"></span></div>
|
||||||
{{/if}} --}}
|
{{/if}} --}}
|
||||||
<div class="repo">
|
<div class="repo fade-out">
|
||||||
<h2 class="repo-title">
|
<h2 class="repo-title">
|
||||||
{{status-icon status=repo.default_branch.last_build.state}}
|
{{status-icon status=repo.default_branch.last_build.state}}
|
||||||
{{#link-to "repo" ownerName repoName }}
|
{{#link-to "repo" ownerName repoName }}
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<span>{{repo.default_branch.last_build.number}}</span>
|
<span>{{repo.default_branch.last_build.number}}</span>
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
</div>
|
</div>
|
||||||
<div class="branch">
|
<div class="branch fade-out">
|
||||||
{{request-icon build=repo.default_branch.last_build}}
|
{{request-icon build=repo.default_branch.last_build}}
|
||||||
<span class="label-align">{{repo.default_branch.name}}</span>
|
<span class="label-align">{{repo.default_branch.name}}</span>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user