From e5cd25e3284b4901d9b61171acf8f03138709f26 Mon Sep 17 00:00:00 2001 From: Reinaldo de Souza Jr Date: Wed, 11 Nov 2015 14:25:04 -0200 Subject: Align second line of email addresses to the beginning of the first line Fixes #514 --- .../app/js/mail_view/ui/recipients/recipients.js | 5 +++-- web-ui/app/scss/_mixins.scss | 14 ++++++++++++- web-ui/app/templates/compose/recipients.hbs | 24 ++++++++++++++++------ 3 files changed, 34 insertions(+), 9 deletions(-) diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients.js b/web-ui/app/js/mail_view/ui/recipients/recipients.js index 3d756bd5..2caa8d14 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients.js @@ -32,7 +32,8 @@ define( function recipients() { this.defaultAttrs({ - navigationHandler: '.recipients-navigation-handler' + navigationHandler: '.recipients-navigation-handler', + recipientsList: '.recipients-list' }); function getAddresses(recipients) { @@ -85,7 +86,7 @@ define( }; this.addRecipient = function(recipient) { - var newRecipient = Recipient.prototype.renderAndPrepend(this.$node, recipient); + var newRecipient = Recipient.prototype.renderAndPrepend(this.$node.find(this.attr.recipientsList), recipient); this.attr.recipients.push(newRecipient); }; diff --git a/web-ui/app/scss/_mixins.scss b/web-ui/app/scss/_mixins.scss index 0e1edf66..1f3e618e 100644 --- a/web-ui/app/scss/_mixins.scss +++ b/web-ui/app/scss/_mixins.scss @@ -176,13 +176,25 @@ box-sizing: border-box; position: relative; - .recipients-label { + .compose-column-label { width: 5%; + display: inline-block; + } + + .compose-column-recipients { + width: 95%; + display: inline-block; + } + + .recipients-label { + width: 100%; + height: 100%; } .recipients-navigation-handler { z-index: -1; position: absolute; + top: -200px; } .twitter-typeahead { diff --git a/web-ui/app/templates/compose/recipients.hbs b/web-ui/app/templates/compose/recipients.hbs index effe48e2..6dbed714 100644 --- a/web-ui/app/templates/compose/recipients.hbs +++ b/web-ui/app/templates/compose/recipients.hbs @@ -1,19 +1,31 @@ -- cgit v1.2.3 From 89fd2afb0ac99b113f0f05f4c9ac8c33094080b0 Mon Sep 17 00:00:00 2001 From: Reinaldo de Souza Jr Date: Wed, 11 Nov 2015 14:25:21 -0200 Subject: Ignore file generated during test execution --- service/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/service/.gitignore b/service/.gitignore index f1cd03b6..3b2ee614 100644 --- a/service/.gitignore +++ b/service/.gitignore @@ -5,3 +5,4 @@ build/ test/perf/**/results .coverage htmlcov/ +_trial_temp.lock -- cgit v1.2.3