From 83685942ded5a6dfe86ecd7a40f456fd825f3378 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 29 Dec 2011 00:24:09 +0200 Subject: [PATCH] Web UI: Improve usability of small devices (cherry picked from commit 78bb4104b080d956d69668fce47a3ad08a16f331) --- Changelog | 1 + src/webui/html/download.html | 2 +- src/webui/scripts/client.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 9aa4313e5..748a1c5a8 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ - BUGFIX: Fix torrent addition dialog layout problem (Closes #84650522) - BUGFIX: Do not report any progress for disabled files (Closes #56731485) - BUGFIX: Make torrent sorting case insensitive (Closes #857154) + - BUGFIX: Improve Web UI usability of small devices - I18N: Add Georgian translation * Sat Oct 29 2011 - Christophe Dumez - v2.9.2 diff --git a/src/webui/html/download.html b/src/webui/html/download.html index d3161127b..5dc27bdbf 100644 --- a/src/webui/html/download.html +++ b/src/webui/html/download.html @@ -11,7 +11,7 @@

_(Download Torrents from their URL or Magnet link)

- +

_(Only one link per line)

diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index cf068411f..3e118a082 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -317,7 +317,7 @@ window.addEvent('load', function(){ if($defined(prop_h)) prop_h = prop_h.toInt(); else - prop_h = 200; + prop_h = Window.getSize().y / 2.; new MochaUI.Panel({ id: 'propertiesPanel', title: 'Panel',