add moire breakpoint for row spacing

This commit is contained in:
Lisa P 2015-09-18 12:41:20 +02:00
parent d44f020dec
commit b665468bf7
2 changed files with 10 additions and 3 deletions

View File

@ -76,13 +76,13 @@ BranchRowComponent = Ember.Component.extend
if @get('auth.signedIn') if @get('auth.signedIn')
options.headers = { Authorization: "token #{@auth.token()}" } options.headers = { Authorization: "token #{@auth.token()}" }
$.ajax("#{apiEndpoint}/v3/repo/#{repoId}/requests", options).then (response) => $.ajax("#{apiEndpoint}/v3/repo/#{repoId}/requests", options).then (response) =>
@.set('isTriggering', false) @set('isTriggering', false)
@.set('hasTriggered', true) @set('hasTriggered', true)
) )
actions: actions:
tiggerBuild: (branch) -> tiggerBuild: (branch) ->
@.set('isTriggering', true) @set('isTriggering', true)
@triggerBuild() @triggerBuild()
viewAllBuilds: (branch) -> viewAllBuilds: (branch) ->

View File

@ -75,6 +75,13 @@
& > div:nth-of-type(5) & > div:nth-of-type(5)
width: 25% width: 25%
@media #{$xlarge-up}
& > div:first-of-type
width: 28%
@media (min-width: 2000px)
& > div:first-of-type
width: 30%
@include statusColors($green-dark, 'passed') @include statusColors($green-dark, 'passed')
@include statusColors($red-dark, 'failed') @include statusColors($red-dark, 'failed')
@include statusColors($red-dark, 'errored') @include statusColors($red-dark, 'errored')