From 6bb9e2639c0c3f07be013f9c366323525c8c3ef5 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 24 Nov 2010 15:52:58 +0100 Subject: [PATCH] Tweak mailbox and message views. --- imp/js/mobile.js | 7 +++++-- imp/themes/default/mobile.css | 13 ++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/imp/js/mobile.js b/imp/js/mobile.js index 9f503c134..a2ce05943 100644 --- a/imp/js/mobile.js +++ b/imp/js/mobile.js @@ -92,8 +92,11 @@ var ImpMobile = { $('
  • ').append( $('

    ').append( $('').html(data.subject))).append( - $('

    ').text(data.date)).append( - $('

    ').text(data.from))); + $('

    ').append( + $('
    ').append( + $('

    ').text(data.from))).append( + $('

    ').append( + $('

    ').text(data.date))))); }); list.listview('refresh'); } diff --git a/imp/themes/default/mobile.css b/imp/themes/default/mobile.css index ab65d83ae..ca4873e08 100644 --- a/imp/themes/default/mobile.css +++ b/imp/themes/default/mobile.css @@ -1,9 +1,20 @@ +#mailbox .ui-btn-innner { + padding-top: 0.4em; + padding-bottom: 0.4em; +} +#mailbox .ui-grid-a .ui-li-desc { + margin: 0; +} + #message .ui-body-c { border-top-width: 0; } /* Style for HTML data iframe. */ .htmlMsgData { - margin: 2px 0; width: 100%; } + +.mimePartInfo { + display: none; +} -- 2.11.0