push some pixels on settings

This commit is contained in:
Lisa Passing 2015-07-22 11:30:32 +02:00
parent 868995bf09
commit 0efcaabc62
5 changed files with 16 additions and 10 deletions

View File

@ -1,6 +1,9 @@
`import Ember from 'ember'`
LimitConcurrentBuildsComponent = Ember.Component.extend
classNames: ['limit-concurrent-builds']
description: (->
description = "Limit concurrent jobs"
if @get('enabled')

View File

@ -2,7 +2,7 @@
LoadingIndicatorComponent = Ember.Component.extend
tagName: 'div'
classNameBindings: ['center:loading-container', 'inline:inline']
classNameBindings: ['center:loading-container', 'inline:inline-block']
center: false
`export default LoadingIndicatorComponent`

View File

@ -16,9 +16,6 @@
&:nth-child(3)
animation-delay: 0.6s
.inline
display: inline-block
@keyframes bouncedelay
0%, 80%, 100%
transform: scale(0)
@ -29,6 +26,8 @@
text-align: center
padding: 1.5em 1em
.inline-block
display: inline-block
.loading-indicator--white
@extend .loading-indicator

View File

@ -48,16 +48,20 @@
font-size: $font-size-s
text-align: center
input.settings-concurrent
display: inline-block
width: 3em
margin: 0 .5em
text-align: center
.limit-concurrent-builds
input
display: inline-block
width: 3em
height: 30px
margin: 0 .5em
text-align: center
%settings-row
padding: .6em .5em
border-radius: 4px
background-color: #F6F5F5
@media #{$medium-up}
height: 47px
.settings-envvar
@extend %settings-row

View File

@ -3,5 +3,5 @@
{{input pattern="/^[0-9]+$/" value=value on="key-up" action="limitChanged"}}
{{/if}}
{{#if isSaving}}
{{loading-indicator}}
{{loading-indicator inline=true}}
{{/if}}