Skip to content

Commit

Permalink
fix(varlet-ui): error report in modification
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghuiyi66 committed Mar 25, 2021
1 parent 8aa8176 commit f8b9020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions packages/varlet-cli/site/mobile/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ export default defineComponent({
<style lang="less">
@import '~@varlet/ui/es/styles/var';
html {
background: #f7f8fa;
}
body {
margin: 0;
padding: 0;
background: white;
background: #f7f8fa;
min-height: 100%;
font-family: 'Roboto', 'Noto Sans SC', sans-serif;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
Expand All @@ -91,7 +95,6 @@ header {
.router-view__block {
padding: 50px 12px 0;
background: #f7f8fa;
}
* {
Expand Down
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/chip/Chip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
plain ? `var-chip--plain-${type}` : `var-chip--${type}`,
{ 'var-chip--round': round, 'var-chip--plain': plain },
]"
:style="controlStyle()"
:style="plain ? { color: textColor || color, borderColor: color } : { color: textColor, background: color }"
>
<slot name="left"></slot>

Expand Down

0 comments on commit f8b9020

Please sign in to comment.