]> _ Git - fluidbook-html5.git/commitdiff
fix #3278 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 Dec 2019 18:26:29 +0000 (19:26 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 Dec 2019 18:26:29 +0000 (19:26 +0100)
js/libs/fluidbook/fluidbook.tabs.js

index 7e87770461b857e8e3750016d17cb726a879dd7d..3bb2441723ebbd408c8fd5bd7d04a7301a3b4a7b 100644 (file)
@@ -380,6 +380,13 @@ FluidbookTabs.prototype = {
             if (this.fluidbook.support.IE > 0) {
                 svgcss.width = w;
             }
+            if (this.fluidbook.support.iOS) {
+                if (this.svg.get(0).style.height === '100%') {
+                    svgcss.height = '99.9999%';
+                } else {
+                    svgcss.height = '100%';
+                }
+            }
             css.width = 'auto';
             if (this.align === 'right') {
                 css.left = data.fluidbookrect.left + data.fluidbookrect.width + (this.margin * scale);