From f35c9ac9af2448f12ed4062598650053768f7a6e Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Wed, 7 Jul 2021 15:34:59 +0300 Subject: fix logo size and add html id to it --- cgit.css | 7 ++++++- ui-shared.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cgit.css b/cgit.css index f2b6105..a0ecf69 100644 --- a/cgit.css +++ b/cgit.css @@ -247,7 +247,12 @@ div#cgit table.list td a:hover { } div#cgit img { - width:100%; + width: 100%; + border: none; +} + +div#cgit img#logo { + width: auto; border: none; } diff --git a/ui-shared.c b/ui-shared.c index 425b16c..7b9a504 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -989,7 +989,7 @@ static void print_header(void) html_attr(cgit_rooturl()); html("'>cgit logo\n"); + html("' id='logo' alt='cgit logo'/>\n"); } html(""); -- cgit v1.2.3