mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
[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 :-)
This commit is contained in:
parent
40ff69c87f
commit
342aa2e31f
@ -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('<style>#quickdial img[src*=".png"]{height:auto;width:'+DIAL_WIDTH+'px}</style>');
|
||||
$('#quickdial div.entry').css({'width' : DIAL_WIDTH + 'px',
|
||||
'height' : Math.round(DIAL_WIDTH / 1.54) + 'px'});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user