stdlib-js / www

Website for stdlib, a standard library for JavaScript and Node.js.
https://stdlib.io
Apache License 2.0
7 stars 8 forks source link

iframe height should automatically adjust to contents #4

Closed kgryte closed 4 years ago

kgryte commented 4 years ago

Checklist

Please ensure the following tasks are completed before filing a bug report.

Description

Description of the issue.

Currently, when running benchmarks and tests, we use a fixed sized iframe. When viewing results, not always obvious that more contents exist unless one happens to intentionally or inadvertently scroll the iframe. Ideally, from a visual perspective, the user need not know whether we're embedding an iframe or not, and we'd automatically adjust the iframe height based on the content height.

For some inspiration, see https://stackoverflow.com/questions/9975810/make-iframe-automatically-adjust-height-according-to-the-contents-without-using

Related Issues

Does this issue have any related issues?

No.

Questions

Any questions for reviewers?

No.

Other

Any other information relevant to this issue? This may include screenshots, references, stack traces, sample output, and/or implementation notes.

Demo

If relevant, provide a link to a live demo.

For a live demo of the issue, see

Reproduction

What steps are required to reproduce the unexpected output?

In order to reproduce this bug, do the following:

Expected Results

What are the expected results?

The following results are expected:

Actual Results

What are the actual results?

The following are the actual results:

Environments

What environments are affected (e.g., Node v0.4.x, Chrome, IE 11)? If Node.js, include the npm version, operating system, and any other potentially relevant platform information.

The following environments are affected:

Planeshifter commented 4 years ago

This issue is now resolved.