Bug 496884 - "Collapsed summary view header hides message summary for threads with long subjects" [r=Standard8 a=blocking-thunderbird3]

This commit is contained in:
David Ascher 2009-09-08 15:31:58 +01:00
Родитель da3deeecbe
Коммит 34ad58fa00
2 изменённых файлов: 14 добавлений и 2 удалений

Просмотреть файл

@ -57,7 +57,6 @@
top: 4em; top: 4em;
right: 0; right: 0;
left: 0; left: 0;
padding: 1em;
z-index: -1; z-index: -1;
padding: 1ex 1em; padding: 1ex 1em;
margin: 0px; margin: 0px;

Просмотреть файл

@ -59,8 +59,21 @@
<link rel="stylesheet" media="screen" type="text/css" <link rel="stylesheet" media="screen" type="text/css"
href="chrome://messenger/skin/tagColors.css"/> href="chrome://messenger/skin/tagColors.css"/>
<title>&window.title;</title> <title>&window.title;</title>
<script type="application/x-javascript;version=1.8"><![CDATA[
function hookResize() {
// we need to hook into the resize event on the header to make the #content
// node shift down as it reflows.
let content = document.getElementById('content');
let heading = document.getElementById('heading');
window.addEventListener('resize',
function(e) {
content.style.top = heading.getBoundingClientRect().height + 'px';
}, false);
}
]]>
</script>
</head> </head>
<body> <body onload="hookResize()">
<div id="headingwrappertable"> <div id="headingwrappertable">
<div id="headingwrapper"> <div id="headingwrapper">
<div id="buttonbox" <div id="buttonbox"