Mercurial > pidgin
diff pidgin/themes/Template.html @ 32778:1c0d9e817dcc
New branch for GSoC2012 project: Gadu-Gadu protocol plugin improvements.
This commit makes trunk usable again - tunning default theme to match legacy Pidgin look&feel.
author | tomkiewicz@cpw.pidgin.im |
---|---|
date | Sat, 19 May 2012 16:38:38 +0000 |
parents | f789627c4f0d |
children |
line wrap: on
line diff
--- a/pidgin/themes/Template.html Fri May 04 07:33:51 2012 +0000 +++ b/pidgin/themes/Template.html Sat May 19 16:38:38 2012 +0000 @@ -286,22 +286,10 @@ node.parentNode.replaceChild(a, node); } - //Align our chat to the bottom of the window. If true is passed, view will also be scrolled down + //If true is passed, view will be scrolled down function alignChat(shouldScroll) { - var windowHeight = window.innerHeight; - - if (windowHeight > 0) { - var contentElement = document.getElementById('Chat'); - var heightDifference = (windowHeight - contentElement.offsetHeight); - if (heightDifference > 0) { - contentElement.style.position = 'relative'; - contentElement.style.top = heightDifference + 'px'; - } else { - contentElement.style.position = 'static'; - } - } - - if (shouldScroll) scrollToBottom(); + if (shouldScroll) + scrollToBottom(); } window.onresize = function windowDidResize(){ @@ -319,7 +307,7 @@ .actionMessageUserName { display:none; } .actionMessageBody:before { content:"*"; } .actionMessageBody:after { content:"*"; } - * { word-wrap:break-word; text-rendering: optimizelegibility; } + * { word-wrap:break-word } img.scaledToFitImage { height: auto; max-width: 100%%; } </style>