fix(virtualization): measure natural rows and align viewport geometry
This commit is contained in:
@@ -275,6 +275,17 @@
|
||||
* (UA bold/center neutralised) while caller text-align/font-weight keep
|
||||
* cascading into every cell — scoping the reset to `th` preserves ancestor
|
||||
* inheritance for the regular td cells. */
|
||||
/* Explicit virtual row heights must not be enlarged by native cell padding.
|
||||
Keep the original padding on an inset content box, with native th/td intact. */
|
||||
.hv-table__cell[data-fixed-height] {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
overflow: clip;
|
||||
}
|
||||
.hv-table__fixed-cell-content {
|
||||
@apply absolute inset-x-0 top-1/2 -translate-y-1/2 px-4 py-3;
|
||||
}
|
||||
|
||||
th.hv-table__cell {
|
||||
text-align: inherit;
|
||||
font-weight: inherit;
|
||||
|
||||
Reference in New Issue
Block a user