Skip to content

Commit

Permalink
feat: rename --column-gap to --td-space-column-gap (#1648)
Browse files Browse the repository at this point in the history
Co-authored-by: sheepluo <[email protected]>
  • Loading branch information
chaishi and sheepluo authored Nov 15, 2023
1 parent e5b3443 commit 8d6eae0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions style/web/components/space/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@

&.@{prefix}-space-horizontal,
&.@{prefix}-space--break-line {
margin-left: calc(-1 * var(--column-gap, 0));
margin-left: calc(-1 * var(--td-space-column-gap, 0));
}

&.@{prefix}-space-vertical,
&.@{prefix}-space--break-line {
margin-top: calc(-1 * var(--row-gap, 0));
margin-top: calc(-1 * var(--td-space-row-gap, 0));
}
}

&.@{prefix}-space--polyfill.@{prefix}-space-horizontal > *,
&.@{prefix}-space--polyfill.@{prefix}-space--break-line > * {
margin-left: var(--column-gap);
margin-left: var(--td-space-column-gap);
}

&.@{prefix}-space--polyfill.@{prefix}-space-vertical > *,
&.@{prefix}-space--polyfill.@{prefix}-space--break-line > * {
margin-top: var(--row-gap);
margin-top: var(--td-space-row-gap);
}
}

0 comments on commit 8d6eae0

Please sign in to comment.