From patchwork Fri Oct 18 03:15:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1179098 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46vWQH2tyPz9sPT; Fri, 18 Oct 2019 14:16:05 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1iLIkC-0000JL-45; Fri, 18 Oct 2019 03:16:00 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iLIk9-0000JD-O5 for fwts-devel@lists.ubuntu.com; Fri, 18 Oct 2019 03:15:57 +0000 Received: from 1.general.alexhung.us.vpn ([10.172.65.254] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iLIk9-0005wF-6T; Fri, 18 Oct 2019 03:15:57 +0000 From: Alex Hung To: fwts-devel@lists.ubuntu.com Subject: [PATCH] lib: fwts_log_html: tweak line-height Date: Thu, 17 Oct 2019 21:15:45 -0600 Message-Id: <20191018031545.11985-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" Increase the height so words aren't cut in Google Chrome Signed-off-by: Alex Hung Acked-by: Colin Ian King Acked-by: Ivan Hu --- src/lib/src/fwts_log_html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/src/fwts_log_html.c b/src/lib/src/fwts_log_html.c index 4c8f404f..20c08471 100644 --- a/src/lib/src/fwts_log_html.c +++ b/src/lib/src/fwts_log_html.c @@ -441,7 +441,7 @@ static void fwts_log_open_html(fwts_log_file *log_file) ".style_subtest { background-color: lightgray; }\n" ".style_info { }\n" ".style_code { font-family: \"courier\",\"mono\"; font-size:0.75em; overflow:auto; " - "width:90%; line-height:0.82em; font-stretch:extra-condensed; word-wrap:normal }\n"); + "width:90%; line-height:1.08em; font-stretch:extra-condensed; word-wrap:normal }\n"); fwts_log_html(log_file, "\n"); fflush(log_file->fp);