Skip to content

Commit

Permalink
fix(ui): add miss prefix to $rd-enable-gap
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Jul 5, 2023
1 parent d7945d0 commit 1f75c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ $rd-placeholder-disabled-color: rgb(var(--#{$rd-prefix}text-color-rgb) / 8%) !de

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

$enable-gap: false !default;
$rd-enable-gap: false !default;
6 changes: 3 additions & 3 deletions packages/ui/src/styles/mixins/_polyfill.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@mixin polyfill-gap($row-gap, $column-gap) {
@if $enable-gap == true {
@if $rd-enable-gap == true {
gap: #{$row-gap} #{$column-gap};
} @else {
@include polyfill-row-gap($row-gap);
Expand All @@ -8,7 +8,7 @@
}

@mixin polyfill-row-gap($row-gap) {
@if $enable-gap == true {
@if $rd-enable-gap == true {
row-gap: #{$row-gap};
} @else {
& {
Expand All @@ -22,7 +22,7 @@
}

@mixin polyfill-column-gap($column-gap) {
@if $enable-gap == true {
@if $rd-enable-gap == true {
column-gap: #{$column-gap};
} @else {
& > *:not(:last-child) {
Expand Down

0 comments on commit 1f75c24

Please sign in to comment.