pixel-react-excel-sheet 1.0.7 → 1.0.8

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.7",
4
+ "version": "1.0.8",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "types": "lib/index.d.ts",
@@ -7,7 +7,7 @@
7
7
  min-height: 32px;
8
8
  min-width: 111px;
9
9
  white-space: nowrap;
10
- z-index: 100;
10
+ z-index: 200;
11
11
 
12
12
  .ff-excel-menu-options {
13
13
  color: var(--text-color);
@@ -102,7 +102,7 @@ const RowIndicator: Types.RowIndicatorComponent = ({
102
102
 
103
103
  return (
104
104
  <th
105
- style={{ height: `${rowHeight}px`}} //Dynamic value, Inline Styling required
105
+ style={{ height: `${rowHeight}px` }} //Dynamic value, Inline Styling required
106
106
  className={classNames('ff-spreadsheet-header', {
107
107
  'ff-spreadsheet-header--selected': selected,
108
108
  })}
@@ -110,9 +110,7 @@ const RowIndicator: Types.RowIndicatorComponent = ({
110
110
  onContextMenu={contextClick}
111
111
  tabIndex={0}
112
112
  >
113
- <div className="corner_indicator">
114
- {label !== undefined ? label : row + 1}
115
- </div>
113
+ {label !== undefined ? label : row + 1}
116
114
  <div
117
115
  onMouseDown={onMouseDown}
118
116
  onClick={() => activate({ row, column: -1 })}
@@ -86,13 +86,14 @@
86
86
  }
87
87
 
88
88
  .ff-spreadsheet-header {
89
- background: var(--header-background-color);
89
+ background-color: var(--header-background-color);
90
90
  color: var(--readonly-text-color);
91
91
  text-align: center;
92
+ z-index: 100;
92
93
  }
93
94
 
94
95
  .corner_indicator {
95
- margin: 0px 0px 0px 15px;
96
+ padding-left: 0px 0px 0px 15px;
96
97
  }
97
98
 
98
99
  .ff-spreadsheet-header--selected {