Re: Bug report: Table hover colors are occasionally wrong

Holger Wansing <[email protected]>
Newsgroups gmane.linux.debian.devel.documentation
Message-ID <[email protected]>
Hi Alfred,

Alfred Agrell <[email protected]> wrote (Wed, 2 Apr 2025 12:22:23 +0200):
> Hello
> 
> https://www.debian.org/releases/testing///release-notes/whats-new.en.html#desktops-and-well-known-packages
> 
> Every second row of the table is colored wrong way if hovered; they're 
> text color #FFFFFF with background color #f3f6f6.
> 
> I think the problem is 
> https://www.debian.org/releases/testing///release-notes/_static/debian.css 
> line 58, the rule
> 
> .rst-content table.docutils:not(.field-list) tbody tr:hover:nth-child(2n-1)
> 
> which should contain an extra td at the end.

There is already an open bug for this, see 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093000

But we were still waiting for a fix - which we got now! Thank you very much!
I have changed it, as proposed by you, and the result looks good to me.

I have pushed that to git, see
https://salsa.debian.org/ddp-team/release-notes/-/commit/c8a0ae30602d9c1adcde052211eb7e6a0869b30b

Maybe you could take a look, to double-check my change?
That would be great, since I don't have any knowledge regarding CSS.

A preview is 
at https://ddp-team.pages.debian.net/release-notes/en/html/whats-new.html
which looks great, indeed.


So long

Holger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.