Skip to content

Commit

Permalink
style(theme-chalk): use variable instead of '-' (element-plus#11889)
Browse files Browse the repository at this point in the history
Sorry,I closed it unexpectedly,PR again .

It does not work if change $common-separator.

so use variable $common-separator instead of '-'.

closed element-plus#11796
  • Loading branch information
fishermanxzx authored Mar 13, 2023
1 parent 7059ed1 commit 703d29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme-chalk/src/mixins/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

// BEM
@mixin b($block) {
$B: $namespace + '-' + $block !global;
$B: $namespace + $common-separator + $block !global;

.#{$B} {
@content;
Expand Down

0 comments on commit 703d29b

Please sign in to comment.