Skip to content

Commit

Permalink
fix(grid): modify less variable (#1611)
Browse files Browse the repository at this point in the history
Co-authored-by: maxin <maxin@growingio.com>
  • Loading branch information
nnmax and maxin committed Dec 3, 2021
1 parent d477af8 commit d5f5618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/grid/style/index.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import '../../stylesheet/variables/index.less';

@component-cls: ~'@{component-prefix}-grid';
@grid-prefix-cls: ~'@{component-prefix}-grid';

.@{component-cls} {
.@{grid-prefix-cls} {
display: flex;
flex-direction: var(--gio-grid-direction, row);
flex-wrap: var(--gio-grid-wrap, wrap);
Expand Down
4 changes: 2 additions & 2 deletions src/legacy/grid/style/index.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import '../../../stylesheet/index.less';

@component-cls: ~'@{component-prefix}-grid-legacy';
@grid-prefix-cls-legacy: ~'@{component-prefix}-grid-legacy';

.@{component-cls} {
.@{grid-prefix-cls-legacy} {
display: flex;
flex-direction: var(--gio-grid-direction, row);
flex-wrap: var(--gio-grid-wrap, wrap);
Expand Down

1 comment on commit d5f5618

@vercel
Copy link

@vercel vercel bot commented on d5f5618 Dec 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.