fix: sets pointer-events to none so the entire label bar is clickable
This commit is contained in:
@@ -3,5 +3,5 @@ import { RowLabelComponent } from '../../../../src/admin/components/forms/RowLab
|
||||
|
||||
export const ArrayRowLabel: RowLabelComponent = (props) => {
|
||||
const { data, fallback } = props;
|
||||
return <span style={{ color: 'hotpink' }}>{data.title || fallback}</span>;
|
||||
return <div style={{ color: 'hotpink' }}>{data.title || fallback}</div>;
|
||||
};
|
||||
|
||||
@@ -3,5 +3,5 @@ import { RowLabelComponent } from '../../../../src/admin/components/forms/RowLab
|
||||
|
||||
export const CollapsibleLabelComponent: RowLabelComponent = (props) => {
|
||||
const { data, fallback } = props;
|
||||
return <span style={{ color: 'coral' }}>{data.componentTitleField || fallback}</span>;
|
||||
return <div style={{ color: 'coral' }}>{data.componentTitleField || fallback}</div>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user