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
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
$confirm.askOnDelete(title, message).then (finish) ->
$confirm.ask(title, subtitle, message).then (finish) ->
onSucces = ->
$ctrl.loadCustomAttributes().finally ->
finish()

View File

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