Minor style fixes in custom fields

stable
Xavier Julián 2015-03-02 12:56:30 +01:00 committed by David Barragán Merino
parent 0a6d77f23f
commit 910dac75b7
2 changed files with 6 additions and 3 deletions

View File

@ -593,8 +593,9 @@ ProjectCustomAttributesDirective = ($log, $confirm, animationFrame) ->
attr = formEl.scope().attr attr = formEl.scope().attr
title = "Delete custom attribute" # i18n title = "Delete custom attribute" # i18n
subtitle = "Remeber that all values in this custom field will be deleted.</br> Are you sure you want to continue?"
message = attr.name message = attr.name
$confirm.askOnDelete(title, message).then (finish) -> $confirm.ask(title, subtitle, message).then (finish) ->
onSucces = -> onSucces = ->
$ctrl.loadCustomAttributes().finally -> $ctrl.loadCustomAttributes().finally ->
finish() finish()

View File

@ -33,8 +33,7 @@
} }
&.editable { &.editable {
.custom-field-options { .custom-field-options {
align-items: center; margin-top: .5rem;
display: flex;
} }
} }
.custom-field-options { .custom-field-options {
@ -62,6 +61,9 @@
line-height: .9rem; line-height: .9rem;
} }
} }
.custom-field-options {
margin: 0;
}
.custom-field-value { .custom-field-value {
flex: 1; flex: 1;
padding: 0 1rem 0 2rem; padding: 0 1rem 0 2rem;