diff --git a/src/client/conversation-viewer/conversation-email.vala b/src/client/conversation-viewer/conversation-email.vala
index 5115a2c1..caf29b24 100644
--- a/src/client/conversation-viewer/conversation-email.vala
+++ b/src/client/conversation-viewer/conversation-email.vala
@@ -324,7 +324,6 @@ public class ConversationEmail : Gtk.Box {
*/
public void expand_email(bool include_transitions=true) {
is_collapsed = false;
- get_style_context().add_class("geary_show_body");
attachments_button.set_sensitive(true);
star_button.set_sensitive(true);
unstar_button.set_sensitive(true);
@@ -337,7 +336,6 @@ public class ConversationEmail : Gtk.Box {
*/
public void collapse_email() {
is_collapsed = true;
- get_style_context().remove_class("geary_show_body");
attachments_button.set_sensitive(false);
star_button.set_sensitive(false);
unstar_button.set_sensitive(false);
diff --git a/src/client/conversation-viewer/conversation-web-view.vala b/src/client/conversation-viewer/conversation-web-view.vala
index e3818546..773058d2 100644
--- a/src/client/conversation-viewer/conversation-web-view.vala
+++ b/src/client/conversation-viewer/conversation-web-view.vala
@@ -79,7 +79,9 @@ public class ConversationWebView : StylishWebView {
int preferred_height = 0;
if (load_status == WebKit.LoadStatus.FINISHED) {
- preferred_height = (int) get_dom_document().get_body().offset_height;
+ // XXX We need this 12px padding since WK doesn't seem to
+ // report the bottom margin?
+ preferred_height = (int) get_dom_document().get_body().scroll_height + 12;
}
// XXX Currently, for some messages the WebView will report
diff --git a/ui/conversation-email.ui b/ui/conversation-email.ui
index e28004cf..cad44279 100644
--- a/ui/conversation-email.ui
+++ b/ui/conversation-email.ui
@@ -146,7 +146,7 @@
True
@@ -331,5 +334,8 @@
+
diff --git a/ui/conversation-message.ui b/ui/conversation-message.ui
index 8ced5e0f..59e4e1bb 100644
--- a/ui/conversation-message.ui
+++ b/ui/conversation-message.ui
@@ -3,7 +3,6 @@
- ConversationMessage
True
False
vertical
@@ -60,9 +59,6 @@
From <email>
end
0
-
True
@@ -77,9 +73,6 @@
1/1/1970
True
end
-
False
@@ -184,9 +177,6 @@
1/1/1970
True
end
-
False
@@ -381,6 +371,9 @@
0
+
False
@@ -397,17 +390,6 @@
True
False
vertical
-
-
-
- False
- True
- 0
-
-
-
-
-
@@ -531,6 +510,9 @@
1
+