respec icon indicating copy to clipboard operation
respec copied to clipboard

Misplaced logos

Open andrea-perego opened this issue 4 years ago • 1 comments

Important info

  • URL to affected spec: https://w3c.github.io/sdw/bp/
  • ReSpec version: 25.6.0 (but 26.0.0 has the same issue).
  • [x] I did a "hard refresh", but it's still busted.

Description of problem

What happened (e.g., it crashed)?:

When multiple logos are used, the 1st one is correctly placed at the top right corner of the page, whereas the other ones are placed at the top left corner, and shifting the spec title down.

See: https://w3c.github.io/sdw/bp/

ReSpec 26.0.0 has the same problem.

In previous versions of ReSpec, they were all placed at the top right corner, one beside the other. See: https://www.w3.org/TR/sdw-bp/

Expected behavior (e.g., it shouldn't crash):

Multiple logos should all be placed at the top right corner, one beside the other, as in https://www.w3.org/TR/sdw-bp/

Optional, steps to reproduce:

  1. ...

andrea-perego avatar Jan 30 '21 11:01 andrea-perego

I had a look into this and it seems base.css controls logos (well, at least the w3c one):

https://github.com/w3c/tr-design/blob/be0f72eb363e8aa936d626adad73e461810d5dd6/src/base.css#L227-L264

We might need to talk to @fantasai about how to deal with specs that have additional logos via base.css.

marcoscaceres avatar Feb 16 '21 09:02 marcoscaceres