From 3bd936709c162df0593a00482fad8820454288c7 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Wed, 9 Jun 2021 22:13:43 +0200 Subject: [PATCH] XFA - Handle caption with inline placement as left one - it's just a temporary workaround to unblock release in Firefox. --- src/core/xfa/template.js | 2 +- web/xfa_layer_builder.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/core/xfa/template.js b/src/core/xfa/template.js index 398c6cabc..f915308c7 100644 --- a/src/core/xfa/template.js +++ b/src/core/xfa/template.js @@ -2409,7 +2409,7 @@ class Field extends XFAObject { break; case "inline": // TODO; - ui.attributes.class.push("xfaInline"); + ui.attributes.class.push("xfaLeft"); break; } diff --git a/web/xfa_layer_builder.css b/web/xfa_layer_builder.css index 79382e120..db66b569a 100644 --- a/web/xfa_layer_builder.css +++ b/web/xfa_layer_builder.css @@ -135,10 +135,6 @@ max-width: 100%; } -.xfaInline { - float: inline; -} - .xfaBorder { background: transparent; position: absolute;