diff --git a/src/lib/MassiveTable.tsx b/src/lib/MassiveTable.tsx index aa7949e..5adabee 100644 --- a/src/lib/MassiveTable.tsx +++ b/src/lib/MassiveTable.tsx @@ -977,7 +977,11 @@ export function MassiveTable(props: MassiveTableProps) { ); })} {draggingColIndex !== null && ( -
+
{overlayMeta.widths.map((w, j) => { const isDataCol = hasInlineGroup ? j > 0 : true; const dataIdx = hasInlineGroup ? j - 1 : j; @@ -987,14 +991,24 @@ export function MassiveTable(props: MassiveTableProps) {
); })}
)}
-
+
{Array.from({ length: Math.max(0, end - start) }).map((_, i) => { const rowIndex = start + i; const row = cache.rows[rowIndex]; @@ -1204,7 +1218,11 @@ export function MassiveTable(props: MassiveTableProps) { ); })} {draggingColIndex !== null && ( -
+
{overlayMeta.widths.map((w, j) => { const isDataCol = hasInlineGroup ? j > 0 : true; const dataIdx = hasInlineGroup ? j - 1 : j; @@ -1214,7 +1232,14 @@ export function MassiveTable(props: MassiveTableProps) {
); })} diff --git a/src/lib/styles/base.module.css b/src/lib/styles/base.module.css index 49b2e17..1179600 100644 --- a/src/lib/styles/base.module.css +++ b/src/lib/styles/base.module.css @@ -28,7 +28,6 @@ Arial, "Apple Color Emoji", "Segoe UI Emoji"; - font-size: 13px; } .viewport { @@ -44,6 +43,10 @@ scrollbar-color: var(--massive-table-scrollbar-thumb) var(--massive-table-scrollbar-track); } +.viewport button { + font-size: 100%; +} + /* Scrollbar polish */ .viewport::-webkit-scrollbar { height: 10px; @@ -76,6 +79,10 @@ border-bottom: 1px solid var(--massive-table-border); box-shadow: var(--massive-table-header-shadow); } +.groupBar ul { + padding: 0; + margin: 0; +} .groupBarOver { outline: 2px dashed var(--massive-table-border); outline-offset: -4px; @@ -113,7 +120,6 @@ background: transparent; color: inherit; border-radius: 6px; - font-size: 11px; line-height: 1; padding: 2px 6px; } @@ -210,7 +216,6 @@ display: inline-flex; align-items: center; gap: 4px; - font-size: 11px; opacity: 0.85; } .headerGroupBtn { @@ -219,7 +224,6 @@ background: transparent; color: inherit; border-radius: 6px; - font-size: 12px; line-height: 1; padding: 2px 6px; cursor: pointer; @@ -232,7 +236,6 @@ } .headerHint { margin-left: auto; - font-size: 11px; opacity: 0.45; } .resizeGrip { @@ -315,7 +318,6 @@ background: transparent; color: inherit; border-radius: 6px; - font-size: 12px; width: 22px; height: 22px; }