@ni/nimble-components 16.1.5 → 16.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4725,10 +4725,17 @@ const mg=ve`
4725
4725
  ${fs("flex")}
4726
4726
 
4727
4727
  .table-container {
4728
+ display: flex;
4729
+ flex-direction: column;
4728
4730
  width: 100%;
4729
- height: 100%;
4730
4731
  font: ${qa};
4731
4732
  color: ${ja};
4733
+ overflow: auto;
4734
+ }
4735
+
4736
+ .header-container {
4737
+ position: sticky;
4738
+ top: 0;
4732
4739
  }
4733
4740
 
4734
4741
  .header-row {
@@ -4805,7 +4812,7 @@ no.getOrCreate().withPrefix("nimble").register(zg())
4805
4812
  const Mg=U`
4806
4813
  <template role="table">
4807
4814
  <div class="table-container">
4808
- <div role="rowgroup">
4815
+ <div role="rowgroup" class="header-container">
4809
4816
  <div class="header-row" role="row">
4810
4817
  ${He((e=>e.columnHeaders),U`
4811
4818
  <${no.tagFor(wg)} class="header">