diff mbox series

lib: fwts_log_html: tweak line-height

Message ID 20191018031545.11985-1-alex.hung@canonical.com
State Accepted
Headers show
Series lib: fwts_log_html: tweak line-height | expand

Commit Message

Alex Hung Oct. 18, 2019, 3:15 a.m. UTC
Increase the height so words aren't cut in Google Chrome

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/lib/src/fwts_log_html.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King Oct. 18, 2019, 10:46 a.m. UTC | #1
On 18/10/2019 04:15, Alex Hung wrote:
> Increase the height so words aren't cut in Google Chrome
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  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, "</STYLE>\n");
>  	fflush(log_file->fp);
>  
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu Oct. 29, 2019, 7:48 a.m. UTC | #2
On 10/18/19 11:15 AM, Alex Hung wrote:
> Increase the height so words aren't cut in Google Chrome
>
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  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, "</STYLE>\n");
>  	fflush(log_file->fp);
>  


Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

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, "</STYLE>\n");
 	fflush(log_file->fp);