From 89f30d2477b89e361d321af3b7d3708fcff38c0d Mon Sep 17 00:00:00 2001 From: Jacek Rydzewski Date: Fri, 21 Jan 2022 23:51:42 +0000 Subject: [PATCH] Misstyped css style text alignment --- components/lazreport/source/lr_e_htm.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lazreport/source/lr_e_htm.pas b/components/lazreport/source/lr_e_htm.pas index 3ca2092d00..23da1f28c4 100644 --- a/components/lazreport/source/lr_e_htm.pas +++ b/components/lazreport/source/lr_e_htm.pas @@ -372,10 +372,10 @@ begin s += Format(' border-color: %s;%s', [ColorToHex(p^.BorderColor),LineEnding]); end; case p^.Alignment of - taRightJustify: s += ' align="right";'; - taCenter: s += ' align="center";'; + taRightJustify: s += ' text-align: right;'; + taCenter: s += ' text-align: center;'; else - s += ' align="left";'; + s += ' text-align: left;'; end; s += ' } '+LineEnding+LineEnding; end;