1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Don't set colspan on parameter rows (#38859)

This commit is contained in:
Peter Bengtsson
2023-07-10 15:59:08 -04:00
committed by GitHub
parent 24b278e59e
commit f1ca61a8f8
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export function ChildBodyParametersRows({
const { t } = useTranslation(['parameter_table', 'products'])
return (
<tr className={cx(styles.childBodyParametersRows, 'color-bg-subtle border-top-0')}>
<td colSpan={4} className="has-nested-table">
<td className="has-nested-table">
<details className="box px-3 ml-1 mb-0" open={open}>
<summary role="button" aria-expanded="false" className="mb-2 keyboard-focus">
{oneOfObject ? (

View File

@@ -164,7 +164,7 @@ export function ParameterRow({
rowParams.childParamsGroups.length === 0 &&
!NO_CHILD_WEBHOOK_PROPERTIES.includes(rowParams.name) ? (
<tr className="border-top-0">
<td colSpan={4} className="has-nested-table">
<td className="has-nested-table">
<details
data-nested-param-id={rowParams.name}
className="box px-3 ml-1 mb-0"