From 342aa2e31f0b8bd2e537152736672fd61fa11481 Mon Sep 17 00:00:00 2001 From: nowrep Date: Mon, 23 Jan 2012 18:31:07 +0100 Subject: [PATCH] [Fix] Fixed ugly big size of animation when loading pages in speed dial. - this regression was introduced with option to change size of dials - and .. um .. it was introduced by me, not Mladen :-) --- src/data/html/speeddial.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data/html/speeddial.html b/src/data/html/speeddial.html index 8dd15e837..516faba6f 100644 --- a/src/data/html/speeddial.html +++ b/src/data/html/speeddial.html @@ -11,7 +11,6 @@ body * {-webkit-user-select: none;font-size: 100%;line-height: 1.6;margin: 0px;} #quickdial div.entry {position: relative; float: left;border-width: 10px; -webkit-border-image: url(%BOX-BORDER%) 10;margin: 5px;} #quickdial img {display: block;margin: auto;} -#quickdial img[src*=".png"] {height: auto;} #quickdial a {position: absolute;left: 0px;top: 0px;width: 100%;height: 87%;} div.entry:hover .edit, div.entry:hover .close, div.entry:hover .reload{display: inline;} @@ -273,7 +272,7 @@ function removeBox(id) { } function alignPage() { - $('#quickdial img[src*=".png"]').css('width', DIAL_WIDTH); + $('head').append(''); $('#quickdial div.entry').css({'width' : DIAL_WIDTH + 'px', 'height' : Math.round(DIAL_WIDTH / 1.54) + 'px'});