Bug 496884 - "Collapsed summary view header hides message summary for threads with long subjects" [r=Standard8 a=blocking-thunderbird3]
This commit is contained in:
Родитель
da3deeecbe
Коммит
34ad58fa00
|
@ -57,7 +57,6 @@
|
|||
top: 4em;
|
||||
right: 0;
|
||||
left: 0;
|
||||
padding: 1em;
|
||||
z-index: -1;
|
||||
padding: 1ex 1em;
|
||||
margin: 0px;
|
||||
|
|
|
@ -59,8 +59,21 @@
|
|||
<link rel="stylesheet" media="screen" type="text/css"
|
||||
href="chrome://messenger/skin/tagColors.css"/>
|
||||
<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>
|
||||
<body>
|
||||
<body onload="hookResize()">
|
||||
<div id="headingwrappertable">
|
||||
<div id="headingwrapper">
|
||||
<div id="buttonbox"
|
||||
|
|
Загрузка…
Ссылка в новой задаче