diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-05-10 22:02:23 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:40:48 +0300 |
commit | 5d6c4ee2c8d33e5f36634bc44b26552444156a23 (patch) | |
tree | 4140530d70cdf03ef5211e6d023a553b4325976e /ui/src/components/mail/view | |
parent | bf35894a18508526273b2233ab0bcaf7a7a28b3e (diff) |
ui: remove useless padding from ThreadView items
Diffstat (limited to 'ui/src/components/mail/view')
-rw-r--r-- | ui/src/components/mail/view/thread.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/src/components/mail/view/thread.rs b/ui/src/components/mail/view/thread.rs index e0b8a0b8..2e137e4a 100644 --- a/ui/src/components/mail/view/thread.rs +++ b/ui/src/components/mail/view/thread.rs @@ -187,8 +187,7 @@ impl ThreadView { let subject = envelope.subject(); highlight_reply_subjects.push(Some(subject.grapheme_width())); format!( - " {}{} - {} {}", - " ".repeat(e.index.0 * 4), + " {} - {} {}", envelope.date_as_str(), envelope.field_from_to_string(), envelope.subject(), @@ -196,8 +195,7 @@ impl ThreadView { } else { highlight_reply_subjects.push(None); format!( - " {}{} - {}", - " ".repeat(e.index.0 * 4), + " {} - {}", envelope.date_as_str(), envelope.field_from_to_string(), ) |