Skip to content

Commit fa9f2fd

Browse files
committed
HPCC-33301 ECL Watch v9 restore grid styles
adds a border bottom style to the Grid component, also fixes an issue where the custom styles were not being correctly passed down to the ShimmeredDetailsList component Signed-off-by: Jeremy Clements <[email protected]>
1 parent 307be0a commit fa9f2fd

File tree

1 file changed

+2
-2
lines changed
  • esp/src/src-react/components/controls

1 file changed

+2
-2
lines changed

esp/src/src-react/components/controls/Grid.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const gridStyles = (height: string): Partial<IDetailsListStyles> => {
122122
maxHeight: height,
123123
selectors: {
124124
".ms-DetailsHeader-cellName": { fontSize: "13.5px" },
125-
".ms-DetailsRow": { userSelect: "text" },
125+
".ms-DetailsRow": { userSelect: "text", borderBottom: "1px solid var(--colorNeutralBackground5)" },
126126
".ms-DetailsRow-cell:has(.bgFilled)": { color: "white", boxShadow: "inset 1px 0 var(--colorNeutralBackground1), inset -1px 1px var(--colorNeutralBackground1)" },
127127
".ms-DetailsRow-cell:has(.bgGreen)": { background: "green" },
128128
".ms-DetailsRow-cell:has(.bgOrange)": { background: "orange" },
@@ -336,7 +336,7 @@ const FluentStoreGrid: React.FunctionComponent<FluentStoreGridProps> = ({
336336
onRenderDetailsHeader={renderDetailsHeader}
337337
onColumnResize={columnResize}
338338
onRenderRow={onRenderRow}
339-
styles={gridStyles(height)}
339+
detailsListStyles={gridStyles(height)}
340340
selectionMode={selectionMode}
341341
/>
342342
</ScrollablePane>

0 commit comments

Comments
 (0)