Size sponsors : sponsors pages
kanedafromparis opened this issue · 4 comments
What's the issue? There is no description, expectation, nor proposal except than a link 🧐
you are right (there is no "draft", so this was a "note"
Anyhow, in order to deal with various logo size and shape we "fix them into a rectangle"
- width : 600 pixel
- height : 300 pixel
Proportion need to be 2:1, when we have new sponsor, we fix their logo into this view box (viewBox="0 0 595.28 260.79") and use img size attribute width="250", width="180px" and so on
What I did until now (on the sponsor widget) is to crop the padding from the svg viewport then define the svg size from page CSS.
It feels more adaptable to any layout.
For example, we can force a 2:1
ratio and a max-width
and max-height
to such dimension without having to change the svg again.