From 3baaffbe69eeb1ecabf8bc59868b0d986da310f2 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Mon, 1 Jun 2020 15:57:15 -0400 Subject: [PATCH] chore: minor ux improvements --- ui/core/app/routes/orgs/org/projects/new.js | 4 ++-- ui/core/app/routes/orgs/org/projects/project.js | 4 ++-- ui/core/app/styles/app.scss | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ui/core/app/routes/orgs/org/projects/new.js b/ui/core/app/routes/orgs/org/projects/new.js index 02252e1f1..23012cbfa 100644 --- a/ui/core/app/routes/orgs/org/projects/new.js +++ b/ui/core/app/routes/orgs/org/projects/new.js @@ -6,7 +6,7 @@ export default class OrgsOrgProjectsNewRoute extends Route { // =services @service notify; - + // =methods /** @@ -44,7 +44,7 @@ export default class OrgsOrgProjectsNewRoute extends Route { this.notify.success('Project created.'); } catch (e) { // TODO: replace with translated strings - this.notify.error('Project could not be created.'); + this.notify.error('Project could not be created.', {closeAfter: null}); } } } diff --git a/ui/core/app/routes/orgs/org/projects/project.js b/ui/core/app/routes/orgs/org/projects/project.js index c352475a8..a6b9947bf 100644 --- a/ui/core/app/routes/orgs/org/projects/project.js +++ b/ui/core/app/routes/orgs/org/projects/project.js @@ -52,7 +52,7 @@ export default class OrgsOrgProjectsProjectRoute extends Route { this.notify.success('Save succeeded.'); } catch (e) { // TODO: replace with translated strings - this.notify.error('An error occurred.'); + this.notify.error('An error occurred.', {closeAfter: null}); } } @@ -69,7 +69,7 @@ export default class OrgsOrgProjectsProjectRoute extends Route { this.notify.success('Deleted project succesfully.'); } catch (e) { // TODO: replace with translated strings - this.notify.error('An error occurred.'); + this.notify.error('An error occurred.', {closeAfter: null}); } } } diff --git a/ui/core/app/styles/app.scss b/ui/core/app/styles/app.scss index d04a9ed2b..64fed4405 100644 --- a/ui/core/app/styles/app.scss +++ b/ui/core/app/styles/app.scss @@ -7,6 +7,18 @@ margin-top: sizing.rems(xxl); } +.rose-form { + width: 66%; + + .rose-form-input { + width: 100%; + + .rose-form-input-field { + width: 100%; + } + } +} + .projects-overview { margin: sizing.rems(l);