commit e13e7bae91ee97830b82973be2ea7d98863f43eb
parent 1786f5a3766dcb936ab1e4a8df96221318e93d7f
Author: Ibrahim Muftee <ibrahim@muftee.net>
Date: Thu, 3 Sep 2026 11:28:57 +0000
fix style of 'Repositories' text in index page
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -148,13 +148,13 @@ writeheader(FILE *fp)
fputs("</head>\n<body>\n", fp);
fputs("<table style=\"width: 100%;\">\n", fp);
fputs("<tr>\n", fp);
- fputs(" <td style=\"width: 32px; vertical-align: top; padding-top: 4px;\">\n", fp);
+ fputs(" <td style=\"width: 32px; vertical-align: middle;\">\n", fp);
fprintf(fp, " <img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" />\n", relpath);
fputs(" </td>\n", fp);
- fputs(" <td style=\"vertical-align: top; padding-top: 4px;\">\n", fp);
- fputs(" <h1 style=\"display: block; font-size: 1em; margin: 0;\">", fp);
+ fputs(" <td style=\"vertical-align: middle;\">\n", fp);
+ fputs(" <span style=\"display: block; font-size: 1em; margin: 0;\">", fp);
xmlencode(fp, description, strlen(description));
- fputs("</h1>\n", fp);
+ fputs("</span>\n", fp);
fputs(" </td>\n", fp);
fputs(" <td style=\"text-align: right; vertical-align: top; padding-top: 4px; white-space: nowrap;\">\n", fp);
fputs(" <button id=\"theme-toggle\" style=\"background: none; border: 1px solid #888; border-radius: 4px; padding: 4px 8px; cursor: pointer;\">\n", fp);
diff --git a/stagit.c b/stagit.c
@@ -569,9 +569,9 @@ writeheader(FILE *fp, const char *title)
relpath, relpath);
fputs(" </td>\n", fp);
fputs(" <td style=\"vertical-align: top; padding-top: 4px;\">\n", fp);
- fputs(" <h1 style=\"display: block; font-size: 1em; margin: 0;\">", fp);
+ fputs(" <span style=\"display: block; font-size: 1em; margin: 0;\">", fp);
xmlencode(fp, strippedname, strlen(strippedname));
- fputs("</h1>\n", fp);
+ fputs("</span>\n", fp);
fputs(" <span class=\"desc\">", fp);
xmlencode(fp, description, strlen(description));
fputs("</span>\n", fp);