We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mobileOptions.width
mobileOptions.maxWidth
1 parent 03270fc commit 3d1f994Copy full SHA for 3d1f994
2 files changed
packages/eui/changelogs/upcoming/9442.md
@@ -0,0 +1,3 @@
1
+**Bug fixes**
2
+
3
+- Fixed `mobileOptions.width` and `mobileOptions.maxWidth` props support in the EuiTableRowCell component
packages/eui/src/components/table/table_row_cell.tsx
@@ -206,9 +206,9 @@ export const EuiTableRowCell: FunctionComponent<Props> = ({
206
};
207
208
const inlineWidthStyles = resolveWidthPropsAsStyle(_style, {
209
- width: getResponsiveWidth(width, mobileOptions?.minWidth),
+ width: getResponsiveWidth(width, mobileOptions?.width),
210
minWidth: getResponsiveWidth(minWidth, mobileOptions?.minWidth),
211
- maxWidth: getResponsiveWidth(maxWidth, mobileOptions?.minWidth),
+ maxWidth: getResponsiveWidth(maxWidth, mobileOptions?.maxWidth),
212
});
213
214
const Element = setScopeRow ? 'th' : 'td';
0 commit comments