Skip to content

Commit

Permalink
fix: adjust tag icon size & add checkbox with-border demo (element-pl…
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun authored Dec 30, 2021
1 parent 46d0c42 commit 047dbcc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions docs/examples/checkbox/with-border.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@
border
></el-checkbox>
</div>
<div class="demo-with-border my-4">
<div class="mt-4">
<el-checkbox v-model="checked3" label="Option1" border></el-checkbox>
<el-checkbox v-model="checked4" label="Option2" border></el-checkbox>
</div>
<div class="demo-with-border">
<div class="mt-4">
<el-checkbox-group v-model="checkboxGroup1" size="small">
<el-checkbox label="Option1" border></el-checkbox>
<el-checkbox label="Option2" border></el-checkbox>
</el-checkbox-group>
</div>
<div class="mt-4">
<el-checkbox-group v-model="checkboxGroup1" size="small">
<el-checkbox label="Option1" border disabled></el-checkbox>
<el-checkbox label="Option2" border disabled></el-checkbox>
</el-checkbox-group>
</div>
Expand All @@ -32,5 +38,5 @@ const checked1 = ref(true)
const checked2 = ref(false)
const checked3 = ref(false)
const checked4 = ref(true)
const checkboxGroup1 = ref([])
const checkboxGroup1 = ref(['Option1'])
</script>
2 changes: 1 addition & 1 deletion packages/theme-chalk/src/common/var.scss
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ $tag-padding: map.merge(
$tag-icon-size: () !default;
$tag-icon-size: map.merge(
(
'large': 16px,
'large': 14px,
'default': 14px,
'small': 12px,
),
Expand Down

0 comments on commit 047dbcc

Please sign in to comment.