From 557fa0d17ff70a456669b25de69e4e6b180b374a Mon Sep 17 00:00:00 2001 From: Gabriel Albo Date: Tue, 28 Oct 2014 09:56:02 -0200 Subject: Rearranging tags position inside the mail list --- web-ui/app/scss/styles.scss | 8 ++++++-- web-ui/app/templates/mails/sent.hbs | 14 ++++++++------ web-ui/app/templates/mails/single.hbs | 12 ++++++------ 3 files changed, 20 insertions(+), 14 deletions(-) (limited to 'web-ui/app') diff --git a/web-ui/app/scss/styles.scss b/web-ui/app/scss/styles.scss index 0baa2d6b..8c8f78a6 100644 --- a/web-ui/app/scss/styles.scss +++ b/web-ui/app/scss/styles.scss @@ -104,15 +104,19 @@ } } .subject-and-tags { - display: inline-block; + display: block; width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @include tags; ul.tags { - display: inline-block; + display: block; + line-height: 1.2; + margin: -3px 0 0 0; li { + background-color: #DDD; + color: black; display: inline-block; height: auto; font-weight: 400; diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs index 826a66d5..1bd907e4 100644 --- a/web-ui/app/templates/mails/sent.hbs +++ b/web-ui/app/templates/mails/sent.hbs @@ -2,22 +2,24 @@ - + {{ header.formattedDate }}
{{t 'to:'}} {{#if header.to }}{{ header.to }}{{else}}{{t 'no_recipient'}}{{/if}}
-
    - {{#each tagsForListView }} -
  • {{ this }}
  • - {{/each }} -
{{#if header.subject }} {{header.subject}} {{else}} {{t 'no_subject'}} {{/if}}
+
+
    + {{#each tagsForListView }} +
  • {{ this }}
  • + {{/each }} +
+
diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs index 9a054c79..8edcb87c 100644 --- a/web-ui/app/templates/mails/single.hbs +++ b/web-ui/app/templates/mails/single.hbs @@ -7,13 +7,13 @@
{{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}
- - {{ header.subject }}
+
+ -- cgit v1.2.3