Skip to content

Commit

Permalink
docs: fix ladle iframe to less whitespace / alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 29, 2023
1 parent 4416dd3 commit 1733e11
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions docs/visual.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
<!-- markdownlint-disable -->
<style>
.full-width-iframe {
h1 {
/* Remove space for heading */
display: none;
}

/* .md-main {
} */

iframe {
width: 100vw;
height: 100vh;
height: 80vh;
border: none;
margin: 0;
padding: 0;
overflow: hidden;
}
</style>

<!-- Hide title -->
<h1></h1>

<iframe class="full-width-iframe" src="https://hotosm.github.io/ui/stories">
<iframe src="https://hotosm.github.io/ui/stories" scrolling="no">
</iframe>
<!-- markdownlint-enable -->

0 comments on commit 1733e11

Please sign in to comment.