Skip to content

Commit

Permalink
Example polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnat committed Feb 7, 2024
1 parent ef973fe commit 7e6fa9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
})
</script>
</button>
<button class="blue">😺 Visit the source code for this page.
<script>
me().on("click", ev => { window.location.href ="https://github.com/gnat/surreal/blob/main/example.html" })
</script>
</button>
<div class="yeet noot">I should be red.
<script>
any(".yeet.noot").classAdd('.active')
Expand Down Expand Up @@ -148,5 +143,10 @@
</button>
</div>
</div>
<button class="blue">😺 Visit the source code for this page.
<script>
me().on("click", ev => { window.location.href ="https://github.com/gnat/surreal/blob/main/example.html" })
</script>
</button>
</body>
</html>
1 change: 1 addition & 0 deletions tests/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ html {
text-size-adjust: none; /* Fixes chrome on mobile. */
-webkit-text-size-adjust: none; /* Fixes safari on mobile. */
-moz-text-size-adjust: none; /* Firefox works fine, but for consistency. */
background: #adadad;
}

/* Custom for showcase. */
Expand Down

0 comments on commit 7e6fa9e

Please sign in to comment.