From b665468bf71da002d010b529d19a5e05c9ccb98f Mon Sep 17 00:00:00 2001 From: Lisa P Date: Fri, 18 Sep 2015 12:41:20 +0200 Subject: [PATCH] add moire breakpoint for row spacing --- app/components/branch-row.coffee | 6 +++--- app/styles/app/layouts/branches.sass | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/components/branch-row.coffee b/app/components/branch-row.coffee index b6efcfce..0c392424 100644 --- a/app/components/branch-row.coffee +++ b/app/components/branch-row.coffee @@ -76,13 +76,13 @@ BranchRowComponent = Ember.Component.extend if @get('auth.signedIn') options.headers = { Authorization: "token #{@auth.token()}" } $.ajax("#{apiEndpoint}/v3/repo/#{repoId}/requests", options).then (response) => - @.set('isTriggering', false) - @.set('hasTriggered', true) + @set('isTriggering', false) + @set('hasTriggered', true) ) actions: tiggerBuild: (branch) -> - @.set('isTriggering', true) + @set('isTriggering', true) @triggerBuild() viewAllBuilds: (branch) -> diff --git a/app/styles/app/layouts/branches.sass b/app/styles/app/layouts/branches.sass index 95a17631..7ff70029 100644 --- a/app/styles/app/layouts/branches.sass +++ b/app/styles/app/layouts/branches.sass @@ -75,6 +75,13 @@ & > div:nth-of-type(5) 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($red-dark, 'failed') @include statusColors($red-dark, 'errored')