From 6a1c64ff7b45dd830bfdb5e1295830b75c531f61 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 6 Aug 2019 10:07:02 +0100 Subject: [PATCH] improve css formatting in about scheme query handlers --- content/fetchers/about.c | 7 ++++--- resources/internal.css | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/content/fetchers/about.c b/content/fetchers/about.c index b922708a9..2cbb60407 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -737,6 +737,9 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) "

%s

\n", title, title); + slen += snprintf(buffer + slen, sizeof(buffer) - slen, + "
"); + res = get_login_description(siteurl, realm, username, @@ -749,8 +752,6 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) free(description); } - slen += snprintf(buffer + slen, sizeof(buffer) - slen, - ""); slen += snprintf(buffer + slen, sizeof(buffer) - slen, "
" @@ -769,7 +770,7 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx) messages_get("Password"), password); slen += snprintf(buffer + slen, sizeof(buffer) - slen, - "
" + "
" "" "