Skip to content

Commit fb7b586

Browse files
committed
Responsive tweaks
1 parent 5a16fb8 commit fb7b586

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ async function main() {
460460
formatter: () =>
461461
`<img src="/images/icons/clipboard.svg" alt="Copy to clipboard" height="16">`,
462462
headerSort: false,
463+
hozAlign: "center",
463464
title: "",
464465
},
465466
{
@@ -481,7 +482,7 @@ async function main() {
481482
hozAlign: "center",
482483
responsive: 0,
483484
title: "Example",
484-
width: 150,
485+
width: 100,
485486
},
486487
{
487488
field: "code",
@@ -496,7 +497,7 @@ async function main() {
496497
return aInt - bInt;
497498
},
498499
title: "Codepoint",
499-
width: 150,
500+
width: 130,
500501
},
501502
{
502503
field: "block",
@@ -582,7 +583,7 @@ async function main() {
582583
initialSort: [{ column: "code", dir: "asc" }],
583584
layout: "fitDataStretch",
584585
placeholder: "No matches",
585-
responsiveLayout: "hide",
586+
//responsiveLayout: "hide",
586587
footerElement: `<span class="w-100 mx-2 my-1">
587588
<img src="/favicon.svg" class="pe-2" style="height:1.2em;" alt="UnicodeSearch logo"/>UnicodeSearch
588589
<span id="rowcount" class="px-3">Rows: ${data.length.toLocaleString()}</span>

0 commit comments

Comments
 (0)