From 5d6c4ee2c8d33e5f36634bc44b26552444156a23 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Fri, 10 May 2019 22:02:23 +0300 Subject: [PATCH] ui: remove useless padding from ThreadView items --- ui/src/components/mail/view/thread.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/src/components/mail/view/thread.rs b/ui/src/components/mail/view/thread.rs index e0b8a0b8a..2e137e4a3 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(), )