Closed musangowope closed 2 years ago
Pls take a look at https://getbootstrap.com/docs/5.0/helpers/ratio/ -- we need the iframe to be responsive, otherwise the mobile view it's truncated on the sides.
Nice use of bootstrap tabs to toggle :)
Pls take a look at https://getbootstrap.com/docs/5.0/helpers/ratio/ -- we need the iframe to be responsive, otherwise the mobile view it's truncated on the sides.
Note we are currently using bootstrap 4.4.1, meaning we don't have access to ratio
utility classes so I created my own class to wrap around the iframes and enforce aspect ratio of 16:9
Pls take a look at https://getbootstrap.com/docs/5.0/helpers/ratio/ -- we need the iframe to be responsive, otherwise the mobile view it's truncated on the sides.
Note we are currently using bootstrap 4.4.1, meaning we don't have access to
ratio
utility classes so I created my own class to wrap around the iframes and enforce aspect ratio of16:9
But your solution works great!
resolves https://github.com/laws-africa/laws-africa.github.io/issues/43