speced / respec

A tool for creating technical documents and web standards
https://respec.org/
Other
718 stars 389 forks source link

Misplaced logos #3280

Open andrea-perego opened 3 years ago

andrea-perego commented 3 years ago

Important info

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. ...
marcoscaceres commented 3 years ago

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.