#1484128 closed Bugs (duplicate)
Preview pane not fully displayed in IE7
| Reported by: | Gryphon | Owned by: | robin |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-beta |
| Component: | Interface | Version: | git-master |
| Severity: | major | Keywords: | preview pane |
| Cc: |
Description
As of the introduction of the preview pane in Revision 391, the lower pane is not full screen in IE7. It is only as tall as the message subject pane leaving the lower half of the preview area blank.
http://dec01.imghost.us/HJc1.jpg
I compared this feature in Firefox and confirm that it is not working as intended IE7.
Attachments (2)
Change History (17)
comment:1 Changed 6 years ago by thomasb
comment:2 Changed 6 years ago by ahndee
The preview pane is messed up in Safari as well - looking at the page source I see that there is
<style type="text/css">
#mailcontframe {
bottom: auto;
height: 210px;
}
</style>
after the <div id="mailpreviewframe">...</div> - this new style definition (especially the height declaration) seems to override the one in mail.css.
I tried to look through the code to figure out where this additional style is written in order to see whether removing solves the issue but was not able to find the proper place...
comment:3 Changed 6 years ago by Gryphon
Changing mail.css line no. 147 to 100% appeared to fix it for IE7. Not sure what the result of that is in other browsers.
html>body*#messagecontframe
{
height: 40%;
}
to
html>body*#messagecontframe
{
height: 100%;
}
comment:4 Changed 6 years ago by ahndee
Changing the height from 40% to 100% does not work in Safari - after changing this the preview frame extends beyond the bottom of the viewport.
comment:5 Changed 6 years ago by Reload
Changing the height from 40% to 100% is working for IE 7.0
comment:6 Changed 6 years ago by robin
Looks fine with [b25766b1]. Please test again.
comment:7 Changed 6 years ago by Gryphon
Still the same in [1a98a6a5].
comment:8 Changed 6 years ago by robin
- Owner set to robin
- Severity changed from normal to major
- Status changed from new to assigned
I see it too now. Must have something to do with the fact that IE7 does better CSS rendering than IE6 but still responds to IE6 hacks.
comment:9 Changed 6 years ago by robin
Please try this:
Index: skins/default/mail.css
===================================================================
--- skins/default/mail.css (revision 403)
+++ skins/default/mail.css (working copy)
@@ -144,7 +144,9 @@
/*\*/
html>body*#messagecontframe
{
+ [height: 40%;
height: 40%;
+ ]height: 100%;
}
/**/
comment:10 Changed 6 years ago by robin
I forgot to give credit to where I found this hack:
comment:11 Changed 6 years ago by Gryphon
robin, that change works in IE7. I also viewed the change in FF 2.0 and it appears to still work normally as well.
comment:12 Changed 6 years ago by robin
- Resolution set to fixed
- Status changed from assigned to closed
OK, I've tested this on Opera 9 (win32), Firefox 1.5 (mac), Firefox 2.0 (win32), IE6, IE7 and Safari. Looks good on all of them, commited SVN406.
comment:13 Changed 6 years ago by ahndee
- Resolution fixed deleted
- Status changed from closed to reopened
Still broken for me with Safari (latest version on 10.4.8/PPC) - see attached file
comment:14 Changed 6 years ago by robin
- Resolution set to duplicate
- Status changed from reopened to closed
Since Safari is the last known browser to have a problem, I'll set this ticket to duplicate of #1484187, which has a better subject.
comment:15 Changed 6 years ago by jpingle
- Milestone set to 0.2-beta

As I don't have IE7 installed here, cold somebody please post fixes for that?
Must be a CSS issue.