git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v4 2/4] gitweb: vertically centre contents of page footer

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 20, 2013, 19:53 UTC
Message-ID
<xmqq1u5ow33c.fsf@gitster.dls.corp.google.com>
In-Reply-To
<5c4afd189553d0f1e83b0c2b9758643deba5a671.1377019362.git.dot@dotat.at>
Tony Finch <dot@dotat.at> writes:
Show 24 quoted lines
> Signed-off-by: Tony Finch <dot@dotat.at>
> ---
>  gitweb/static/gitweb.css | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css
> index a869be1..3b4d833 100644
> --- a/gitweb/static/gitweb.css
> +++ b/gitweb/static/gitweb.css
> @@ -68,12 +68,13 @@ div.page_path {
>  }
>  
>  div.page_footer {
> -	height: 17px;
> +	height: 22px;
>  	padding: 4px 8px;
>  	background-color: #d9d8d1;
>  }
>  
>  div.page_footer_text {
> +	line-height: 22px;
>  	float: left;
>  	color: #555555;
>  	font-style: italic;

Hmmm, is it a good idea to do "px" here, or are they ways to do relative to x-height or something to make sure the text fits?

Previous: Tony FinchNext: Tony Finch
Message 5 of 8 in “Four small gitweb tweaks”
  1. 0/4 Four small gitweb tweaksTony Finch, Aug 20, 2013
  2. 1/4 gitweb: Ensure OPML text fits inside its box.Tony Finch, Aug 20, 2013
  3. Junio C HamanoAug 20, 2013
  4. 2/4 gitweb: vertically centre contents of page footerTony Finch, Aug 20, 2013
  5. Junio C HamanoAug 20, 2013
  6. Tony FinchAug 21, 2013
  7. 3/4 gitweb: omit the repository owner when it is unsetTony Finch, Aug 20, 2013
  8. 4/4 gitweb: make search help link less uglyTony Finch, Aug 20, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.