pixel-react-excel-sheet 1.0.24 → 1.0.25

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pixel-react-excel-sheet",
3
3
  "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "1.0.24",
4
+ "version": "1.0.25",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "types": "lib/index.d.ts",
@@ -105,7 +105,7 @@ const ColumnIndicator: Types.ColumnIndicatorComponent = ({
105
105
 
106
106
  return (
107
107
  <th
108
- style={{ minWidth: `${columnWidth}px`, position: 'relative' }} //Dynamic value, Inline Styling required
108
+ style={{ minWidth: `${columnWidth}px`, position: 'sticky' }} //Dynamic value, Inline Styling required
109
109
  className={classNames('ff-spreadsheet-header', {
110
110
  'ff-spreadsheet-header--selected': selected,
111
111
  })}
@@ -1,5 +1,5 @@
1
1
  import * as Types from './types';
2
2
 
3
- const HeaderRow: Types.HeaderRowComponent = (props) => <tr {...props} />;
3
+ const HeaderRow: Types.HeaderRowComponent = (props) => <tr style={{position:'relative',height:"34px"}} {...props} />;
4
4
 
5
5
  export default HeaderRow;
@@ -101,6 +101,7 @@
101
101
  position: fixed;
102
102
  z-index: 2000;
103
103
  }
104
+
104
105
  .corner-header {
105
106
  border: 0.1px solid var(--border-color);
106
107
  background-color: var(--header-background-color);
@@ -110,8 +111,8 @@
110
111
  justify-content: center;
111
112
  z-index: 1100;
112
113
  top: -1px;
113
- width: 59px;
114
- height: 27px;
114
+ width: 60px;
115
+ height: 34px;
115
116
  left: -1px;
116
117
  }
117
118