From: Vincent Vanwaelscappel Date: Mon, 3 Feb 2025 16:37:49 +0000 (+0100) Subject: wait #7301 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f5aaf3379dca11cedc43ea2819ab172db53386a3;p=fluidbook-toolbox.git wait #7301 --- diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml index f90856d5f..893cb6821 100644 --- a/.docker/docker-compose.yml +++ b/.docker/docker-compose.yml @@ -106,6 +106,7 @@ services: - '/data/toolbox/protected/fluidbookcollection/:/application/protected/fluidbookcollection/' # Local mounts - "/data/fluidbook/docs/:/application/protected/fluidbookpublication/docs/" + - "/data/fluidbook/assets/:/application/protected/fluidbookpublication/working/" # Config - '/home/toolbox/www/.docker/config/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf' # External volume diff --git a/app/Fluidbook/Compiler/Links.php b/app/Fluidbook/Compiler/Links.php index bc310501a..78ca514a6 100644 --- a/app/Fluidbook/Compiler/Links.php +++ b/app/Fluidbook/Compiler/Links.php @@ -159,7 +159,11 @@ trait Links $dupData['uid'] = 'b_' . $linkData['uid']; $dupData['addzindex'] = -1; + if ($linkData['type'] == Link::TEXT) { + $dupData['extra'] = 'transformOrigin=0 100%'; + } $dupData['image_rollover'] = ''; + array_push($links, $dupData); array_push($links, $linkData); unset($links[$k]);