From 89525d65f5f5ee99efbf01e5932bec9073bbe443 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 26 Feb 2024 12:23:55 +0000 Subject: [PATCH] left section --- static/js/documentInfoView.amp.js | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/static/js/documentInfoView.amp.js b/static/js/documentInfoView.amp.js index 24e2c53..07f5d89 100644 --- a/static/js/documentInfoView.amp.js +++ b/static/js/documentInfoView.amp.js @@ -112,6 +112,12 @@ pandora.ui.documentInfoView = function(data, isMixed) { }); if (!isMultiple) { + var $left = Ox.Element() + .css({ + position: 'absolute' + }) + .appendTo($info); + var $icon = Ox.Element({ element: '', }) @@ -128,7 +134,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { .bindEvent({ // singleclick: toggleIconSize }) - .appendTo($info), + .appendTo($left), $reflection = $('
') .addClass('OxReflection') @@ -140,7 +146,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { height: iconSize / 2 + 'px', overflow: 'hidden' }) - .appendTo($info), + .appendTo($left), $reflectionIcon = $('') .attr({ @@ -163,6 +169,16 @@ pandora.ui.documentInfoView = function(data, isMixed) { .appendTo($reflection); } + var $data = $('
') + .addClass('OxTextPage') + .css({ + position: 'absolute', + left: margin + 'px', + top: margin + iconHeight + margin + 'px', + width: (iconSize == 256 ? iconSize : iconWidth) + 'px', + }) + .appendTo($left); + var $text = Ox.Element() .addClass('OxTextPage') .css({