Closed nfischer closed 5 years ago
This uses CSS (padding-bottom) to hold the Network to the 3:2 aspect ratio (the ratio of the flag image), replacing the JavaScript code from before.
This might help resolve issue #16, but it's hard enough to reproduce that I'm not sure.
Issue #16
padding-bottom seems to have good browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
This uses CSS (padding-bottom) to hold the Network to the 3:2 aspect ratio (the ratio of the flag image), replacing the JavaScript code from before.
This might help resolve issue #16, but it's hard enough to reproduce that I'm not sure.
Issue #16