fix(style): remove chinese comments in checkbox (#4189)

This commit is contained in:
云游君 2021-11-04 10:04:38 +08:00 committed by GitHub
parent b4d54b6e55
commit f548bcb8b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -25,3 +25,11 @@ pnpm link --global element-plus
```
> More info see [pnpm link](https://pnpm.io/cli/link).
## Theme
We should not write Chinese comments in scss files.
It will generate warning `@charset "UTF-8";` in the header of css file when built with vite.
> More info see [#3219](https://github.com/element-plus/element-plus/issues/3219).

View File

@ -180,7 +180,7 @@ $checkbox-bordered-input-width: map.merge(
}
}
@include when(focus) {
/*focus时 视觉上区分*/
// Visually distinguish when focus
.#{$namespace}-checkbox__inner {
border-color: var(--el-checkbox-input-border-color-hover);
}