From a4df658857ec3204739b9978f3ac1a27241846af Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Mon, 9 Sep 2019 15:16:43 -0400 Subject: [PATCH] Move cancel button in add env form --- styles/components/_portfolio_layout.scss | 2 +- .../fragments/applications/add_new_environment.html | 12 +++++------- templates/portfolios/applications/settings.html | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/styles/components/_portfolio_layout.scss b/styles/components/_portfolio_layout.scss index 848467dd..240c3c35 100644 --- a/styles/components/_portfolio_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -287,7 +287,7 @@ @include subheading; position: relative; - .icon-link { + .icon-link__add { position: absolute; right: 0; top: 0; diff --git a/templates/fragments/applications/add_new_environment.html b/templates/fragments/applications/add_new_environment.html index e8190e14..32fded93 100644 --- a/templates/fragments/applications/add_new_environment.html +++ b/templates/fragments/applications/add_new_environment.html @@ -18,17 +18,15 @@ - + {{ Icon('plus') }} {{ "portfolios.applications.add_environment" | translate }} diff --git a/templates/portfolios/applications/settings.html b/templates/portfolios/applications/settings.html index 68550046..1c1957b0 100644 --- a/templates/portfolios/applications/settings.html +++ b/templates/portfolios/applications/settings.html @@ -103,7 +103,7 @@ {% set new_member_modal_name = "add-app-mem" %} {% if user_can(permissions.CREATE_APPLICATION_MEMBER) %} - + {{ Icon("plus") }} {{ "portfolios.applications.add_member" | translate }}