Skip to content

Commit

Permalink
fix the number of rows in tables from observable
Browse files Browse the repository at this point in the history
  • Loading branch information
rodroadl committed Jul 7, 2024
1 parent 14f55da commit dfcf797
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/css/style_index.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,6 @@ tr:last-child {
border-bottom: none;
}

#observablehq-viewof-search_match-351a6d6f{
div.search{
margin-bottom: 5px;
}
13 changes: 7 additions & 6 deletions docs/html/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,21 @@ <h1 align="center">Content</h1>
<div class="right">
<div class="block">
<h1 align="center">Match</h1>
<div id="observablehq-viewof-search_match-351a6d6f"></div>

<div id="observablehq-table_match-351a6d6f"></div>
<div id="observablehq-viewof-search_match-c465a95e" class="search"></div>
<div id="observablehq-table_match-c465a95e"></div>
</div>
</div>
</div>
</body>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@observablehq/inspector@5/dist/inspector.css">
<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@5/dist/runtime.js";
import define from "https://api.observablehq.com/d/3ea298c3c8491a1f@70.js?v=4";
import define from "https://api.observablehq.com/d/3ea298c3c8491a1f@75.js?v=4";
new Runtime().module(define, name => {
if (name === "viewof search_match") return new Inspector(document.querySelector("#observablehq-viewof-search_match-351a6d6f"));
if (name === "table_match") return new Inspector(document.querySelector("#observablehq-table_match-351a6d6f"));
if (name === "viewof search_match") return new Inspector(document.querySelector("#observablehq-viewof-search_match-c465a95e"));
if (name === "table_match") return new Inspector(document.querySelector("#observablehq-table_match-c465a95e"));
if (name === "table_biggest_upset") return new Inspector(document.querySelector("#observablehq-table_biggest_upset-c465a95e"));
if (name === "table_most_unexpected") return new Inspector(document.querySelector("#observablehq-table_most_unexpected-c465a95e"));
});
</script>
</html>
12 changes: 7 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ <h1 align="center">Elo Rating</h1>

<div class="block">
<h2 align="center">The Biggest Upset</h2>
<div id="observablehq-table_biggest_upset-b51cab08"></div>
<div id="observablehq-table_biggest_upset-c465a95e"></div>
</div>
<div class="block">
<h2 align="center">The Most Unexpected Outcome</h2>
<div id="observablehq-table_most_unexpected-b51cab08"></div>
<div id="observablehq-table_most_unexpected-c465a95e"></div>
</div>
</div>
</div>
Expand All @@ -158,10 +158,12 @@ <h2 align="center">The Most Unexpected Outcome</h2>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@observablehq/inspector@5/dist/inspector.css">
<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@5/dist/runtime.js";
import define from "https://api.observablehq.com/d/3ea298c3c8491a1f@58.js?v=4";
import define from "https://api.observablehq.com/d/3ea298c3c8491a1f@75.js?v=4";
new Runtime().module(define, name => {
if (name === "table_biggest_upset") return new Inspector(document.querySelector("#observablehq-table_biggest_upset-b51cab08"));
if (name === "table_most_unexpected") return new Inspector(document.querySelector("#observablehq-table_most_unexpected-b51cab08"));
if (name === "viewof search_match") return new Inspector(document.querySelector("#observablehq-viewof-search_match-c465a95e"));
if (name === "table_match") return new Inspector(document.querySelector("#observablehq-table_match-c465a95e"));
if (name === "table_biggest_upset") return new Inspector(document.querySelector("#observablehq-table_biggest_upset-c465a95e"));
if (name === "table_most_unexpected") return new Inspector(document.querySelector("#observablehq-table_most_unexpected-c465a95e"));
});
</script>
</html>

0 comments on commit dfcf797

Please sign in to comment.