Skip to content

Commit

Permalink
Merge d3a6d9e into f870a84
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 committed Feb 21, 2023
2 parents f870a84 + d3a6d9e commit 8bd2e15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function createPagination(
return {
simple: true,
showTotal: false,
showQuickJumper: true,
...pagination,
pageIndex: pageIndex.value,
pageSize: pageSize.value,
Expand Down
1 change: 1 addition & 0 deletions packages/components/transfer/style/content.less
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
}

&-suffix {
line-height: 1;
margin-left: auto;
}
&-clear-icon + &-suffix,
Expand Down

0 comments on commit 8bd2e15

Please sign in to comment.