Skip to content

Commit

Permalink
docs(comp:transfer): modify header suffix size of demo
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 committed Feb 21, 2023
1 parent e79c7c2 commit d3a6d9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/components/transfer/demo/CustomHeaderLabelSuffix.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@
<span v-else> Target ({{ data.length }}) </span>
</template>
<template #headerSuffix>
<IxIcon name="plus" :onClick="handleSuffixClick" />
<IxIcon name="plus" size="16px" :onClick="handleSuffixClick" />
</template>
</IxTransfer>
</template>

<script setup lang="ts">
import type { TransferData } from '@idux/components/transfer'
import { ref } from 'vue'
interface Data {
interface Data extends TransferData {
key: number
value: number
label: string
Expand Down
3 changes: 1 addition & 2 deletions packages/components/transfer/style/content.less
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
}

&-suffix {
display: flex;
align-items: center;
line-height: 1;
margin-left: auto;
}
&-clear-icon + &-suffix,
Expand Down

0 comments on commit d3a6d9e

Please sign in to comment.