]> _ Git - fluidbook-html5.git/commitdiff
wip #7913 @0:15
authorsoufiane <soufiane@cubedesigners.com>
Thu, 19 Feb 2026 16:05:54 +0000 (17:05 +0100)
committersoufiane <soufiane@cubedesigners.com>
Thu, 19 Feb 2026 16:05:54 +0000 (17:05 +0100)
js/libs/fluidbook/fluidbook.links.js
style/links.less

index b40cfb8e571905deb3e67632af5871fe64b62e3f..156228d987f967910f0d1061f9bfd386ecd04371 100644 (file)
@@ -745,6 +745,7 @@ FluidbookLinks.prototype = {
 
         $(this.fluidbook).trigger('fluidbook.links.ready');
         $this.updateAttachedLinks();
+        this.setIconAltTextLink();
         this.resize();
     },
 
@@ -1080,4 +1081,11 @@ FluidbookLinks.prototype = {
             }, null, 'post');
         }
     },
+
+    setIconAltTextLink: function () {
+        const links = $("[data-type=52]");
+        links.each(function(el) {
+            $(this).html(getSpriteIcon('nav-help'))
+        })
+    },
 }
index 7df94439a7dfea1dccfeb2234fff15de89a962dd..626613358c811666c8806d9cc46d94e86520ed54 100644 (file)
       }
     }
   }
+
+  &[data-type='52'] {
+    background-color: #fff;
+    width: 20px;
+    height: 20px;
+    position: absolute;
+    right: 0;
+    bottom: 0;
+  }
 }