Skip to content

Commit 1f75c24

Browse files
committed
fix(ui): add miss prefix to $rd-enable-gap
1 parent d7945d0 commit 1f75c24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/ui/src/styles/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ $rd-placeholder-disabled-color: rgb(var(--#{$rd-prefix}text-color-rgb) / 8%) !de
1919

2020
$rd-font-weight-bold: 600 !default;
2121

22-
$enable-gap: false !default;
22+
$rd-enable-gap: false !default;

packages/ui/src/styles/mixins/_polyfill.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@mixin polyfill-gap($row-gap, $column-gap) {
2-
@if $enable-gap == true {
2+
@if $rd-enable-gap == true {
33
gap: #{$row-gap} #{$column-gap};
44
} @else {
55
@include polyfill-row-gap($row-gap);
@@ -8,7 +8,7 @@
88
}
99

1010
@mixin polyfill-row-gap($row-gap) {
11-
@if $enable-gap == true {
11+
@if $rd-enable-gap == true {
1212
row-gap: #{$row-gap};
1313
} @else {
1414
& {
@@ -22,7 +22,7 @@
2222
}
2323

2424
@mixin polyfill-column-gap($column-gap) {
25-
@if $enable-gap == true {
25+
@if $rd-enable-gap == true {
2626
column-gap: #{$column-gap};
2727
} @else {
2828
& > *:not(:last-child) {

0 commit comments

Comments
 (0)