Closes #250 and fixes API doc links

This commit is contained in:
ポール ウェッブ 2019-02-19 17:55:06 -06:00
parent 06ed08afdc
commit e7c1c160b5
4 changed files with 14 additions and 5 deletions

View file

@ -18,6 +18,6 @@ export default () => html`
<div class="api-content__intro">
<p>You can find the repo for this API on GitHub:</p>
<pre><code>https://github.com/lbryio/lbry</code></pre>
<pre><code>https://github.com/lbryio/lbrycrd</code></pre>
</div>
`;

View file

@ -18,6 +18,6 @@ export default () => html`
<div class="api-content__intro">
<p>You can find the repo for this API on GitHub:</p>
<pre><code>https://github.com/lbryio/lbrycrd</code></pre>
<pre><code>https://github.com/lbryio/lbry</code></pre>
</div>
`;

View file

@ -83,3 +83,12 @@ sub {
display: block;
line-height: 1.55;
}
frame-viewer {
width: 100%; height: calc(100vh - 4rem); // TODO: Update when new navigation is merged
display: block;
iframe {
width: 100%; height: 100%;
}
}

View file

@ -18,9 +18,9 @@ export default state => {
};
return html`
<div style="width: 100%; height: calc(100vh - 4rem)">
<iframe id="spec" style="width: 100%; height: 100%;"></iframe>
</div>
<frame-viewer>
<iframe id="spec"></iframe>
</frame-viewer>
<script>
const specDomain = "https://spec.lbry.io";