From 910dac75b7948e69d4d4468a9809a862aec7bf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Mon, 2 Mar 2015 12:56:30 +0100 Subject: [PATCH] Minor style fixes in custom fields --- app/coffee/modules/admin/project-values.coffee | 3 ++- app/styles/modules/common/custom-fields.scss | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/coffee/modules/admin/project-values.coffee b/app/coffee/modules/admin/project-values.coffee index 3b4882cf..48f52d63 100644 --- a/app/coffee/modules/admin/project-values.coffee +++ b/app/coffee/modules/admin/project-values.coffee @@ -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.
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() diff --git a/app/styles/modules/common/custom-fields.scss b/app/styles/modules/common/custom-fields.scss index 2856188a..9500491a 100644 --- a/app/styles/modules/common/custom-fields.scss +++ b/app/styles/modules/common/custom-fields.scss @@ -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;