diff --git a/index.html b/index.html new file mode 100644 index 0000000..7fb6372 --- /dev/null +++ b/index.html @@ -0,0 +1,37 @@ + + + + + + HighTable Viewer Demo + + + + + +
+ + + diff --git a/src/hightable.css b/src/hightable.css index 6193d17..2e235b4 100644 --- a/src/hightable.css +++ b/src/hightable.css @@ -1,9 +1,16 @@ -.outer { +.table-container { display: flex; flex: 1; min-height: 0; position: relative; } + +.table-container * { + box-sizing: border-box; + margin: 0; + padding: 0; +} + .tableScroll { flex: 1; overflow: auto; diff --git a/src/hightable.tsx b/src/hightable.tsx index 2b57b16..326b1d4 100644 --- a/src/hightable.tsx +++ b/src/hightable.tsx @@ -19,7 +19,7 @@ export default function HighTable({ header, data }: TableProps) { return undefined } - return
+ return