SNL-WaterPower / WecOptTool-MATLAB

WEC Design Optimization Toolbox
GNU General Public License v3.0
12 stars 9 forks source link

Ensure width of the PDF viewer scales with the viewport #204

Closed H0R5E closed 3 years ago

H0R5E commented 3 years ago

Description

Previously the PDF viewer on the resources page had a fixed width no matter what size the viewport was. This led to unsightly behaviour on mobile. This fix sets the PDF viewer width to 100% (i.e. auto), so that it scales with the size of the viewport.

This also reverts d3f404453584b10935017c3caab5867a0da06a61, which updated the .travis.yaml file mistakenly.