JuliaHealth / juliahealth.github.io

Website for the JuliaHealth organization (powered by Franklin.jl).
https://juliahealth.org
14 stars 9 forks source link

[Bug] The JuliaHealth logo issue #120

Closed Jay-sanjay closed 1 year ago

Jay-sanjay commented 1 year ago

I found that the juliahealth logo seems to be deformed on Android interface, image attached

image

@TheCedarPrince could you please look over it once . Thanks !!

cormullion commented 1 year ago

I think ... the problem with specifying both width and height percentages is that they'll be applied to the image container's dimensions rather than to the image's.

If you just specify width, the height will then be calculated automatically, and preserve the aspect ratio:

<img src="/assets/julia-health-logo.png" alt="JuliaHealth logo" title="JuliaHealth logo" style="width: 25%; align:center">
TheCedarPrince commented 1 year ago

Fix has been submitted! Thanks @cormullion for the fix and @Jay-sanjay for reporting this issue!