all repos — cgit @ f35c9ac9af2448f12ed4062598650053768f7a6e

a hyperfast web frontend for git written in c

fix logo size and add html id to it
la-ninpre leobrekalini@gmail.com
Wed, 07 Jul 2021 15:34:59 +0300
commit

f35c9ac9af2448f12ed4062598650053768f7a6e

parent

81b5fdedf5da305954ea271a6d14ca996756553b

2 files changed, 7 insertions(+), 2 deletions(-)

jump to
M cgit.csscgit.css

@@ -247,7 +247,12 @@ color: #566a7f;

} div#cgit img { - width:100%; + width: 100%; + border: none; +} + +div#cgit img#logo { + width: auto; border: none; }
M ui-shared.cui-shared.c

@@ -989,7 +989,7 @@ else

html_attr(cgit_rooturl()); html("'><img src='"); html_attr(logo); - html("' alt='cgit logo'/></a></td>\n"); + html("' id='logo' alt='cgit logo'/></a></td>\n"); } html("<td class='main'>");